RFR: 8245956: JavaCompiler still uses files API instead of Path API in a specific case

Jonathan Gibbons jjg at openjdk.java.net
Mon Dec 7 20:01:15 UTC 2020

On Wed, 2 Dec 2020 05:10:12 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.

Marked as reviewed by jjg (Reviewer).


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

More information about the compiler-dev mailing list