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

Jaikiran Pai jai.forums2013 at gmail.com
Mon Jan 6 04:23:54 UTC 2020


Hello Christoph,

On 06/01/20 4:06 AM, Langer, Christoph wrote:
> Hi Jaikiran,
>
> I've ran your patches through our testing now.

Thank you.


>  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?

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

-Jaikiran



More information about the jdk-updates-dev mailing list