RFR: 8211004: javac is complaining about non-denotable types and refusing to generate the class file [v2]
Vicente Romero
vromero at openjdk.java.net
Wed Jan 5 21:02:50 UTC 2022
> 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
Vicente Romero 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-8211004
- 8211004: javac is complaining about non-denotable types and refusing to generate the class file
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/6886/files
- new: https://git.openjdk.java.net/jdk/pull/6886/files/ed719136..a50d57b7
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6886&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6886&range=00-01
Stats: 13046 lines in 494 files changed: 7907 ins; 3309 del; 1830 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