JDK 12 RFR of JDK-8209024: Use SuppressWarnings -- now RFR for 8209304: Deprecate serialVersionUID fields in interfaces

Joseph D. Darcy joe.darcy at oracle.com
Fri Aug 17 00:29:35 UTC 2018


Hi Sean,

On 8/15/2018 1:32 PM, Sean Mullan wrote:
> On 8/9/18 2:36 PM, joe darcy wrote:
>> Security libs team, for
>>
>> src/java.base/share/classes/sun/security/internal/interfaces/TlsMasterSecret.java 
>>
>>
>> I added a separate @Deprecated annotation for the serialVersionUID 
>> field even though the interface itself is already deprecated. That 
>> interface's javadoc states:
>>
>>    41  * @deprecated Sun JDK internal use only --- WILL BE REMOVED in 
>> a future
>>    42  * release.
>>
>> If you like, as part of this changeset I can upgrade (downgrade?) the 
>> @Deprecated annotation for this class to forRemoval=true.
>
> Let's just leave it as is for now (don't add forRemoval=true). We 
> don't have any upcoming plans to remove or replace this class.
>
>

Please review the CSR:

     https://bugs.openjdk.java.net/browse/JDK-8209317

and I'll proceed in getting this fix into JDK 12.

Thanks,

-Joe




More information about the security-dev mailing list