This patch is hopefully a fix for clone method in gnu.java.security.OID.java Can someone please comment on this?
Thank you, Mario 2006-07-12 Mario Torre <[EMAIL PROTECTED]> * gnu/java/security/OID.java (clone): Fixed. -- Lima Software, SO.PR.IND. s.r.l. http://www.limasoftware.net/ pgp key: http://subkeys.pgp.net/ Please, support open standards: http://opendocumentfellowship.org/petition/ http://www.nosoftwarepatents.com/
### Eclipse Workspace Patch 1.0 #P classpath Index: gnu/java/security/OID.java =================================================================== RCS file: /sources/classpath/classpath/gnu/java/security/OID.java,v retrieving revision 1.7 diff -u -r1.7 OID.java --- gnu/java/security/OID.java 20 May 2006 03:25:09 -0000 1.7 +++ gnu/java/security/OID.java 12 Jul 2006 17:15:01 -0000 @@ -325,10 +325,16 @@ */ public Object clone() { - OID oid = new OID(); - oid.components = this.components; - oid.strRep = this.strRep; - return oid; + try + { + return super.clone(); + } + catch (CloneNotSupportedException cnse) + { + InternalError ie = new InternalError(); + ie.initCause(cnse); + throw ie; + } } /* Nice idea, but possibly too expensive for whatever benefit it
signature.asc
Description: Questa รจ una parte del messaggio firmata digitalmente