RFR: 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Vicente Romero
vromero at openjdk.java.net
Fri Dec 17 21:42:56 UTC 2021
Please review this fix which is checking if the enclosing class of an anonymous class is denotable or not. Currently javac is failing with an error at class writing time. All this fix is doing is failing during attribution and trying to issue a better error message so that the user knows better how to fix the issue and the position of the offending code,
TIA
-------------
Commit messages:
- 8211004: javac is complaining about non-denotable types and refusing to generate the class file
Changes: https://git.openjdk.java.net/jdk/pull/6886/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6886&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8211004
Stats: 21 lines in 8 files changed: 15 ins; 1 del; 5 mod
Patch: https://git.openjdk.java.net/jdk/pull/6886.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6886/head:pull/6886
PR: https://git.openjdk.java.net/jdk/pull/6886
More information about the compiler-dev
mailing list