harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samoilenko, Svetlana V" <svetlana.v.samoile...@intel.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:30:21 GMT
I don't think that it is bug in specs.
The spec 1.5 for SecretKey interface reads:
"Field: serialVersionUID
The class fingerprint that is set to indicate serialization
compatibility since J2SE 1.4."
Mikhail, what is your opinion?

Regards,
Svetlana

-----Original Message-----
From: Geir Magnusson Jr [mailto:geir@pobox.com] 
Sent: Wednesday, March 22, 2006 6:18 PM
To: harmony-dev@incubator.apache.org
Subject: 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.
> 

Mime
View raw message