Integrated: 8245956: JavaCompiler still uses File API instead of Path API in a specific case
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Wed Dec 9 21:12:38 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.
This pull request has now been integrated.
Changeset: 46c9a860
Author: Guoxiong Li <lgxbslgx at gmail.com>
Committer: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/46c9a860
Stats: 71 lines in 2 files changed: 67 ins; 0 del; 4 mod
8245956: JavaCompiler still uses File API instead of Path API in a specific case
Reviewed-by: jjg
-------------
PR: https://git.openjdk.java.net/jdk/pull/1553
More information about the compiler-dev
mailing list