--- old/src/java.base/share/native/launcher/defines.h Thu May 28 09:52:28 2015 +++ new/src/java.base/share/native/launcher/defines.h Thu May 28 09:52:27 2015 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -46,6 +46,7 @@ #ifdef JAVA_ARGS +#define HAS_JAVA_ARGS JNI_TRUE static const char* const_progname = "java"; static const char* const_jargs[] = JAVA_ARGS; /* @@ -58,6 +59,7 @@ #endif /* APP_CLASSPATH */ static const char* const_appclasspath[] = APP_CLASSPATH; #else /* !JAVA_ARGS */ +#define HAS_JAVA_ARGS JNI_FALSE #ifdef PROGNAME static const char* const_progname = PROGNAME; #else --- old/src/java.base/share/native/launcher/main.c Thu May 28 09:52:29 2015 +++ new/src/java.base/share/native/launcher/main.c Thu May 28 09:52:29 2015 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1995, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -129,6 +129,6 @@ DOT_VERSION, (const_progname != NULL) ? const_progname : *margv, (const_launcher != NULL) ? const_launcher : *margv, - (const_jargs != NULL) ? JNI_TRUE : JNI_FALSE, + HAS_JAVA_ARGS, const_cpwildcard, const_javaw, const_ergo_class); }