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

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 28 21:06:13 UTC 2019


On 28/02/2019 20:58, Jonathan Gibbons wrote:
> Looking at the revised JAR specification, approved in [1], it is
> disappointing that the spec contains text which is specific to
> a JAR file being used in a classloader:
>
> |The resulting URLs are inserted into the search path of the class 
> loader opening the context JAR immediately following the path of the 
> context JAR. Any duplicated URLs are omitted.|
>
> That text would seem not to apply to javac and other tools that may wish
> to process the class files in a JAR file.
That should be fixed as it should apply at compile-time too.

-Alan


More information about the core-libs-dev mailing list