RFR JDK-8190315: Test tools/javac/tree/NoPrivateTypesExported.java failing
Jan Lahoda
jan.lahoda at oracle.com
Mon Oct 30 20:35:19 UTC 2017
Hi,
test/langtools/tools/javac/tree/NoPrivateTypesExported.java is failing.
The intent of the test is to verify the API elements don't refer to
non-public types. This is similar to Xlint:exports, but older. Seems
reasonable to keep the test for now, despite it might be superseded by
-Xlint:exports. The issue why the test is failing is that it does not
ignore constant annotation values, which the proposed fix is doing:
Bug: https://bugs.openjdk.java.net/browse/JDK-8190315
Webrev: http://cr.openjdk.java.net/~jlahoda/8190315/webrev.00/
Thanks,
Jan
More information about the compiler-dev
mailing list