RFR: 8224922: Access JavaFileObject from Element(s) [v2]
Jan Lahoda
jlahoda at openjdk.java.net
Tue Aug 10 20:51:40 UTC 2021
On Tue, 10 Aug 2021 20:06:56 GMT, Joe Darcy <darcy at openjdk.org> wrote:
>> Initial review to get some comments on the shape of the API. Tests are needed of course, as well as some tuning of the spec to better describe differences in behavior when class files rather than source files are the backing file type.
>
> Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:
>
> - Merge branch 'master' into JDK-8224922
> - 8224922: Access JavaFileObject from Element(s)
Seems useful to me. A possible conversion from Element to FileObject is needed elsewhere as well, I've tried to write it here:
https://github.com/openjdk/jdk/blob/aa61e594b96acba1bcb7e5ea57b1631d917cf545/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacFiler.java#L526
-------------
PR: https://git.openjdk.java.net/jdk/pull/5038
More information about the compiler-dev
mailing list