harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-233) private serialVersionID field should be set in javax.security.auth.kerberos.KerberosKey class
Date Fri, 24 Mar 2006 03:17:20 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-233?page=all ]

Stepan Mishura updated HARMONY-233:
-----------------------------------

    Attachment: fixHarmony233.txt

Yes, KerberosKey  should be fixed but the bug description says that there is the same problem
for javax.crypto.spec.SecretKeySpec class. According to the 5.0 spec. serialized form for
SecretKeySpec class doesn't specify serialVersionID. It is inherited from interface javax.crypto.SecretKey.

I've attached patch for KerberosKey class only.

> 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
>  Attachments: fixHarmony233.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message