[jdk17] RFR: 8266036: class file for sun.misc.Contended not found [v3]

Jan Lahoda jlahoda at openjdk.java.net
Wed Jul 7 07:37:20 UTC 2021


> [this is an improved version of openjdk/jdk PR:
> https://github.com/openjdk/jdk/pull/4428
> ]
> 
> 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.
> 
> As noted by @jddarcy, we also need a special handling of ValueBased, which this patch should do, so it also solves https://bugs.openjdk.java.net/browse/JDK-8258421

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Fixing typo.

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk17/pull/27/files
  - new: https://git.openjdk.java.net/jdk17/pull/27/files/187ad580..ed26b697

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk17&pr=27&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk17&pr=27&range=01-02

  Stats: 3 lines in 3 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.java.net/jdk17/pull/27.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk17 pull/27/head:pull/27

PR: https://git.openjdk.java.net/jdk17/pull/27


More information about the compiler-dev mailing list