Skip to content

Commit 2b49880

Browse files
author
gk_brown
committed
Remove hard-coded version constants from main.m.
git-svn-id: https://svn.java.net/svn/appbundler~svn@19 07572b26-92e5-4d45-f66a-c18421440a21
1 parent 94944e3 commit 2b49880

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

appbundler/native/main.m

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,6 @@
3737

3838
#define LIBJLI_DYLIB "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/libjli.dylib"
3939

40-
// TODO Remove these; they are defined by the makefile
41-
#define FULL_VERSION "1.7.0"
42-
#define DOT_VERSION "1.7.0"
43-
#define DEFAULT_POLICY 0
44-
4540
typedef int (JNICALL *JLI_Launch_t)(int argc, char ** argv,
4641
int jargc, const char** jargv,
4742
int appclassc, const char** appclassv,
@@ -172,12 +167,12 @@ int launch(char *commandName) {
172167
return jli_LaunchFxnPtr(argc, argv,
173168
0, NULL,
174169
0, NULL,
175-
FULL_VERSION,
176-
DOT_VERSION,
170+
"",
171+
"",
177172
"java",
178173
"java",
179174
FALSE,
180175
FALSE,
181176
FALSE,
182-
DEFAULT_POLICY);
177+
0);
183178
}

0 commit comments

Comments
 (0)