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

Sean Mullan sean.mullan at oracle.com
Wed Aug 15 20:32:29 UTC 2018


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.

Thanks,
Sean



More information about the security-dev mailing list