On Sat, 10 May 2025 20:28:39 GMT, Vicente Romero <vrom...@openjdk.org> wrote:

>> 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 incrementally with one additional 
> commit since the last revision:
> 
>   Update src/jdk.compiler/share/classes/com/sun/tools/javac/code/Lint.java
>   
>   Co-authored-by: Chen Liang <li...@openjdk.org>

FYI, this issue now effectively fixes [JDK-7004476 Lint.LintCategory should 
support aliases](https://bugs.openjdk.org/browse/JDK-7004476), which happened 
to be closed as "Rejected" on Monday. Not sure if anything needs to be done.

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

PR Comment: https://git.openjdk.org/jdk/pull/24746#issuecomment-2869145567

Reply via email to