RFR(S): JDK-8026964 Building with an IBM J9 boot jdk requires special settings for BOOT_RTJAR
Magnus Ihse Bursie
magnus.ihse.bursie at oracle.com
Mon Nov 18 05:29:15 PST 2013
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
More information about the ppc-aix-port-dev
mailing list