RFR: 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation [v2]
Chen Liang
liach at openjdk.org
Mon Jul 22 16:42:06 UTC 2024
> `TypeAnnotation` is not an annotation, as it should not be used in places like `AnnotationValue.ofAnnotation`. Thus it's remodeled to contain an annotation at a given location instead of to be an annotation.
>
> Depends on #20205.
Chen Liang has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- Update to the specification per Alex feedback
- Merge branch 'fix/cf-apis' of https://github.com/liachmodded/jdk into fix/typeanno-model
- 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20247/files
- new: https://git.openjdk.org/jdk/pull/20247/files/752451a7..877b9384
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=00-01
Stats: 605 lines in 40 files changed: 515 ins; 31 del; 59 mod
Patch: https://git.openjdk.org/jdk/pull/20247.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20247/head:pull/20247
PR: https://git.openjdk.org/jdk/pull/20247
More information about the core-libs-dev
mailing list