RFR: 8336754: Remodel TypeAnnotation to "has" instead of "be" an Annotation [v9]

Chen Liang liach at openjdk.org
Tue Aug 13 19:47:30 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 18 additional commits since the last revision:

 - More bad terms and redundancy
 - Fix terminology
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model
 - Stage
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model
 - remove compile, use element-value, break long sentences
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model
 - Improve docs for repeating, default, and value name
 - Merge branch 'master' of https://github.com/openjdk/jdk into fix/typeanno-model
 - ... and 8 more: https://git.openjdk.org/jdk/compare/f09e48cb...c66c7d25

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/20247/files
  - new: https://git.openjdk.org/jdk/pull/20247/files/3a91a3a5..c66c7d25

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=08
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=20247&range=07-08

  Stats: 15357 lines in 539 files changed: 6184 ins; 6850 del; 2323 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