harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: [jira] Created: (HARMONY-233) private serialVersionID field should be set in javax.security.auth.kerberos.KerberosKey class
Date Wed, 22 Mar 2006 12:17:55 GMT
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.
> 

Mime
View raw message