RFR: 8224922: Access JavaFileObject from Element(s) [v8]
Joe Darcy
darcy at openjdk.java.net
Wed Nov 3 20:41:16 UTC 2021
On Wed, 3 Nov 2021 20:24:46 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 20 additional commits since the last revision:
>
> - Ancillary improvements to the spec.
> - Merge branch 'master' into JDK-8224922
> - Merge branch 'master' into JDK-8224922
> - Appease jcheck.
> - Merge pull request #3 from lahodaj/JDK-8224922
>
> Improvements to JDK-8224922
> - Test cleanup.
> - Cleanup.
> - Cleanup.
> - Merge remote-tracking branch 'darcy/JDK-8224922' into JDK-8224922
> - Merge branch 'master' into JDK-8224922
> - ... and 10 more: https://git.openjdk.java.net/jdk/compare/0f04a159...1599509b
test/langtools/tools/javac/processing/model/element/TestFileObjectOf.java line 59:
> 57: import toolbox.ToolBox;
> 58:
> 59: public class TestFileObjectOf extends TestRunner {
Other situations to test include unnamed packages and modules, which should get a corresponding spec update.
-------------
PR: https://git.openjdk.java.net/jdk/pull/5038
More information about the compiler-dev
mailing list