You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@harmony.apache.org by Geir Magnusson Jr <ge...@pobox.com> on 2006/03/22 13:17:55 UTC

Re: [jira] Created: (HARMONY-233) private serialVersionID field should be set in javax.security.auth.kerberos.KerberosKey class

This sounds like a bug in the *spec*, because it means that 
theoretically, there is 1.4 code that won't compile under 1.5 due to 
reasons other than collision w/ language changes and 1.4 binary wouldn't 
run.

Right?

geir


Svetlana Samoilenko (JIRA) wrote:
> private serialVersionID field should be set in javax.security.auth.kerberos.KerberosKey class
> ---------------------------------------------------------------------------------------------
> 
>          Key: HARMONY-233
>          URL: http://issues.apache.org/jira/browse/HARMONY-233
>      Project: Harmony
>         Type: Bug
>   Components: Classlib  
>     Reporter: Svetlana Samoilenko
> 
> 
> According to J2SE 1.4  specifications javax.security.auth.kerberos.KerberosKey class has
> public serialVersionUID field (it implements SecretKey interface that inherited this field from java.security.Key interface where the field is public).
> But according J2SE 1.5 specification this field in Key interface is not public, so class KerberosKey should have private serialVersionID field.
> 
> The same problem is for javax.cripto.spec.SecretKeySpec class.
>