Review Request: 8004803: build-infra: Cannot use icedtea as boot for closed build.
Jonathan Gibbons
jonathan.gibbons at oracle.com
Thu Dec 13 03:10:59 UTC 2012
On 12/12/2012 06:58 PM, David Holmes wrote:
>
> However in this case we were not invoking the javac launcher but the
> java launcher with the javac jar file. In that context does "javac"
> still accept -Xbootclasspath, or is that only accepted by the javac
> launcher?
The javac launcher is equivalent to:
1. detect -J options, set them to one side, removing -J
2. exec java, with the processed -J options from step 1, with
tools.jar on the classpath,
com.sun.tools.javac.Main remaining-options
There is no extra arg decoding magic in the javac launcher, except to
handle -J options.
Similar code is used for all the tool launchers; the only difference
between them is the name of the entry point.
So, yes, javac accepts both -bootclasspath and -Xbootclaspath:, whether
invoked from the launcher, or via javac.jar.
-- Jon
More information about the build-dev
mailing list