RFR: 8266036: class file for sun.misc.Contended not found
Joe Darcy
darcy at openjdk.java.net
Thu Jun 10 21:41:58 UTC 2021
On Wed, 9 Jun 2021 11:05:37 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:
> The ct.sym may contain classfiles referring to annotations that are not present in ct.sym (liek JDK's internal annotation `sun.misc.Contended`). If javac will try to load them (while discovering annotations for the purpose of detecting which annotation processors should be run), an error will be produced (please see the issue). The proposal is to strip annotations that are not present in ct.sym when generating ct.sym.
Does jdk.internal.ValueBased also need special handling? See JDK-8258421.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4428
More information about the compiler-dev
mailing list