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

Joe Darcy darcy at openjdk.org
Sat Jan 20 22:16:29 UTC 2024


On Sat, 20 Jan 2024 21:59:46 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.
>
> Joe Darcy has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Make make of stripAnnotations more explicit.

CSR https://bugs.openjdk.org/browse/JDK-8323620 updated with latest specification.

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

PR Comment: https://git.openjdk.org/jdk/pull/8984#issuecomment-1902277340


More information about the compiler-dev mailing list