[11u] RFR: 8218268: Javac treats Manifest Class-Path entries as Paths instead of URLs

Langer, Christoph christoph.langer at sap.com
Tue Jan 7 10:33:54 UTC 2020


Hi Jaikiran,

> >  It turns out that 8218268 needs a little modification for 11u. The call
> Path.of(url.toURI()) needs to be converted to Paths.get(url.toURI()) because
> of the requirement of JDK11 to be buildable with a bootstrap OpenJDK of
> version 10. com.sun.tools.javac.file.FSInfo is compiled with the bootstrap JDK
> and JDK 10 does not yet have the Path.of methods.
> 
> I thought I had built and run the relevant tests on jdk11u repo before
> sending this patch, but now I'm not really confident if I indeed did
> that (it's been a while now). Is it possible that maybe I used JDK 11 to
> bootstrap that repo itself and the build process didn't catch this issue?

You'll probably have used JDK11 as bootstrap JDK. I guess most people do so today, given that JDK11 is LTS and JDK10 has been out of maintenance for quite some time now. However, there are a few folks around that still run build pipelines with JDK10.

> Either way, thank you very much for taking care of the change and
> proposing the new patch.

Welcome. I just pushed it to 11u-dev.

Cheers
Christoph




More information about the jdk-updates-dev mailing list