RFR JDK-8129562: JDK 9 build using boot-jdk classes instead of newly compiled classes
Henry Jen
henry.jen at oracle.com
Thu Aug 6 00:51:56 UTC 2015
Looks reasonable to me.
Cheers,
Henry
> On Jul 27, 2015, at 4:49 AM, Jan Lahoda <jan.lahoda at oracle.com> wrote:
>
> Hi,
>
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8129562
>
> As part of the fix for JDK-8054717, CompileJavaModules.gmk is now using an "empty" bootclasspath (classes like java.lang.Object are loaded from the ordinary classpath as needed). Unfortunately, javac is still using the default ext and endorsed dirs (if available in the boot JDK), and classes that are in the ext dirs have precedence over the classes from the classpath. Which may cause compilation problems with the ext dirs contain an older version of a class.
>
> The proposal is to make ext and endorsed dirs "empty" as well (both ext and endorsed dirs will contain one entry, and the entry will be an empty directory):
> http://cr.openjdk.java.net/~jlahoda/8129562/webrev.00/
>
> What do you think?
>
> Thanks,
> Jan
More information about the build-dev
mailing list