Re: RFR: 8354556: Expand value-based class warnings to java.lang.ref API [v12]

2025-05-11 Thread Kim Barrett
On Sat, 10 May 2025 20:28:39 GMT, Vicente Romero 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

Re: RFR: 8354556: Expand value-based class warnings to java.lang.ref API [v12]

2025-05-10 Thread Vicente Romero
On Sat, 10 May 2025 20:38:36 GMT, Archie Cobbs wrote: > 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. I g

Re: RFR: 8354556: Expand value-based class warnings to java.lang.ref API [v12]

2025-05-10 Thread Archie Cobbs
On Sat, 10 May 2025 20:28:39 GMT, Vicente Romero 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

Re: RFR: 8354556: Expand value-based class warnings to java.lang.ref API [v12]

2025-05-10 Thread Vicente Romero
> 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 ident