RFR: 8261625: Add `Elements.isAutomaticModule(ModuleElement)` [v2]

Joe Darcy darcy at openjdk.java.net
Thu Apr 8 17:10:09 UTC 2021


On Thu, 8 Apr 2021 16:54:28 GMT, Vicente Romero <vromero at openjdk.org> wrote:

>> 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 five additional commits since the last revision:
>> 
>>  - Respond to review feedback.
>>  - Merge branch 'master' into 8261625
>>  - Add test coverage.
>>  - Merge branch 'master' into 8261625
>>  - 8261625
>
> test/langtools/tools/javac/processing/model/util/elements/TestIsAutomaticMod.java line 53:
> 
>> 51:                 ModuleElement enclosing = elements.getModuleOf(e);
>> 52:                 checkMod(enclosing, false);
>> 53:                 System.out.println(enclosing.toString());
> 
> can this line `System.out...` be removed? probably a debugging leftover?

Sure; I'll remove it before pushing.

-------------

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


More information about the compiler-dev mailing list