RFR 8235361 : JAR Class-Path no longer accepts relative URLs encoding absolute Windows paths (e.g "/C:/...")
mandy.chung at oracle.com
Mon Dec 9 22:15:46 UTC 2019
On 12/9/19 12:17 PM, Jonathan Gibbons wrote:
> I note that javac now uses the same definition of tryResolveFile in
> its handling of Class-Path manifest entries, and so the behavior for
> the compiler and runtime should now be aligned.
This patch looks good to me.
> -- Jon
> On 12/09/2019 12:10 PM, Brent Christian wrote:
>> As discussed last month on this alias, JAR Class-Path entries
>> that encode an absolute Windows path (including a drive letter, so
>> e.g. "/C:/path/to/file.jar") are ignored as of 8211941.
>> Such entries are legal relative URLs, and should not be ignored.
>> Please review my fix to correct this.
More information about the core-libs-dev