[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-compiler-dev
Subject: Integrated: JDK-8281238: TYPE_USE annotations not printed in correct position in toString output
From: Joe Darcy <darcy () openjdk ! java ! net>
Date: 2022-02-11 21:56:12
Message-ID: _15tVC2OIJg9PxRNjAyxxmHVXgzOZbHma_Aevb_8Brc=.83821a8f-c35f-451b-a168-937ece182ea3 () github ! com
[Download RAW message or body]
On Wed, 9 Feb 2022 21:43:13 GMT, Joe Darcy <darcy@openjdk.org> wrote:
> To use a type annotation on a fully qualified type name, the annotations must \
> appear between the package name and the type:
> java.lang. @TypeAnnotation String // good
>
> and *not* before the fully qualified name
>
> @TypeAnnotation java.lang.String // bad
>
> This required ordering is not preserved in the toString output of TypeMirrors in \
> annotation processing. This changeset corrects that and updates a few tests that \
> assume the older formatting.
> (This listed update to the given toString method is necessary; I don't believe any \
> of the other Type toString methods also need to be updated, but some might need \
> updating too.)
This pull request has now been integrated.
Changeset: 4032fe76
Author: Joe Darcy <darcy@openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4032fe76dccb6da85927361aee7ceedcdb758e89
Stats: 19 lines in 4 files changed: 8 ins; 0 del; 11 mod
8281238: TYPE_USE annotations not printed in correct position in toString output
Reviewed-by: vromero
-------------
PR: https://git.openjdk.java.net/jdk/pull/7411
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic