On 2013-11-15 18:51, Kumar Srinivasan wrote:
Hi Volker,
One thing I notieced,
BOOT_RTJAR=`$BOOT_JDK/bin/java -XshowSettings 2>&1 .......
I suggest using java -XshowSettings:props -version 2>&1 .........
props, will narrow down the reporting to only properties section,
which is
really what you want
-version, will allow the launcher to return a 0 exit value, since
-XshowSettings
behaves like -showversion ie. another class or option is expected for
the launcher
to continue.
Kumar,
While these sounds like good suggestions, when I tested them locally, it
does not seem to work. -XshowSettings:props behaves no different from
-XshowSettings.
What's worse, when I tested with an older version of java with -version
added, the effect of -XshowSettings disappeared! If this method is not
robust for all JDKs that can be used as boot jdk, we should be careful
about using it.
/Magnus