On Wed, 9 Jun 2021 11:05:37 GMT, Jan Lahoda <jlah...@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

Reply via email to