RFR: 8245956: JavaCompiler still uses File API instead of Path API in a specific case [v2]

Jonathan Gibbons jjg at openjdk.java.net
Wed Dec 9 19:54:35 UTC 2020

On Tue, 8 Dec 2020 01:45:29 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

>> Hi all,
>> `JavacFileManager.getClassLoader` uses `getLocation` which causes exception in some situations.
>> This patch uses `getLocationAsPaths` instead of `getLocation` to solve it.
>> Thanks you for taking the time to review.
>> Best Regards.
> Guoxiong Li has updated the pull request incrementally with one additional commit since the last revision:
>   Rename variable. Revise comment. Add print statement after the method getClassLoader.

Marked as reviewed by jjg (Reviewer).


PR: https://git.openjdk.java.net/jdk/pull/1553

More information about the compiler-dev mailing list