RFR: JDK-8042981: Strip type annotations in Types' utility methods [v13]

Joe Darcy darcy at openjdk.org
Wed Jan 24 01:34:43 UTC 2024


> Early review for JDK-8042981: "Strip type annotations in Types' utility methods". I work more often in the Element world rather than the Type word of the annotation processing APIs.
> 
> The type annotations on primitive types are *not* cleared by the existing annotation clearing mechanisms. I suspect Type.Visitor is missing a case for primitive types. Someone with familiarity with javac's type modeling should take a look; thanks.

Joe Darcy has updated the pull request incrementally with two additional commits since the last revision:

 - Fix issue found in code review.
 - Fix typo found in code review.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/8984/files
  - new: https://git.openjdk.org/jdk/pull/8984/files/450ae6b2..0003be28

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=8984&range=12
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=8984&range=11-12

  Stats: 5 lines in 2 files changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/8984.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/8984/head:pull/8984

PR: https://git.openjdk.org/jdk/pull/8984


More information about the compiler-dev mailing list