Integrated: JDK-8042981: Strip type annotations in Types' utility methods

Joe Darcy darcy at openjdk.org
Fri Jan 26 20:58:44 UTC 2024


On Thu, 2 Jun 2022 01:09:17 GMT, Joe Darcy <darcy at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: ed3272cc
Author:    Joe Darcy <darcy at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/ed3272cc44a5b1ae918b573e6c3d792665b6bbc7
Stats:     449 lines in 5 files changed: 438 ins; 0 del; 11 mod

8042981: Strip type annotations in Types' utility methods

Co-authored-by: Liam Miller-Cushon <cushon at openjdk.org>
Reviewed-by: cushon, jjg, jlahoda

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

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


More information about the compiler-dev mailing list