> This PR is defining a new internal annotation, > `@jdk.internal.RequiresIdentity`, with target types PARAMETER and > TYPE_PARAMETER. The @RequiresIdentity annotation expresses the expectation > that an argument to a given method or constructor parameter will be an object > with a unique identity, not an instance of a value-based class; or that the > type argument to a given type parameter will not be a value-based class type. > > For more details please refer to the complete description in the > corresponding JIRA entry [1] > > TIA > > [1] https://bugs.openjdk.org/browse/JDK-8354556
Vicente Romero has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 34 commits: - Merge branch 'master' into JDK-8354556 - Update src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java Co-authored-by: Chen Liang <li...@openjdk.org> - additional changes from Archie - removing dead code - integrating code from Archie - fixing bugs, removing dead code - additional documentation changes and bug fixes - documentation and adding alias to lint categories - Merge branch 'master' into JDK-8354556 - addressing review comment - ... and 24 more: https://git.openjdk.org/jdk/compare/e7ce661a...22acaf29 ------------- Changes: https://git.openjdk.org/jdk/pull/24746/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24746&range=12 Stats: 661 lines in 32 files changed: 576 ins; 37 del; 48 mod Patch: https://git.openjdk.org/jdk/pull/24746.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/24746/head:pull/24746 PR: https://git.openjdk.org/jdk/pull/24746