Hi, the correct syntax is -XshowSettings:properties.
Please don't bother with the current webrev. I found another small problem on Windows. I'll submit a new webrev in a few minutes (just want my Windows-build to finally finish without any problems). Volker On Mon, Nov 18, 2013 at 2:29 PM, Magnus Ihse Bursie <magnus.ihse.bur...@oracle.com> wrote: > 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