Looks fine to me. BTW, I was wondering whether we can remove the deprecated attributes in X509Key after this fix. And as only the encodedKey is serialized, I think we can use the @serial tag and transient fields to make the code more friendly.
Xuelei On 8/7/2013 7:46 AM, Jason Uh wrote: > Joe, Sean, > > Could I please get a review of this changeset? This change fixes > deprecation warnings in: > sun.security.provider > sun.security.rsa > sun.security.x509 > > In sun.security.provider and sun.security.rsa, I change the use of > sun.security.x509.X509Key's key bytes to the BitArray form of the key. > > Webrev: http://cr.openjdk.java.net/~juh/8022461/webrev.00/ > > Thanks, > Jason