Index: compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java,v --- compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java 28 Mar 2006 20:31:16 -0000 1.2 +++ compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java 11 May 2006 15:40:50 -0000 @@ -94,7 +94,9 @@ this.addStackItem(new VerificationTypeInfo(binding)); } public Object clone() throws CloneNotSupportedException { - StackMapFrame result = new StackMapFrame(); + StackMapFrame result = (StackMapFrame) super.clone(); + result.numberOfLocals = -1; + result.numberOfDifferentLocals = -1; result.pc = this.pc; result.numberOfStackItems = this.numberOfStackItems; Index: compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java,v --- compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java 28 Mar 2006 20:31:16 -0000 1.2 +++ compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java 11 May 2006 15:40:50 -0000 @@ -151,7 +151,10 @@ return String.valueOf(buffer); } protected Object clone() throws CloneNotSupportedException { - final VerificationTypeInfo verificationTypeInfo = new VerificationTypeInfo(this.id, this.tag, this.constantPoolName); + final VerificationTypeInfo verificationTypeInfo = (VerificationTypeInfo) super.clone(); + verificationTypeInfo.id = this.id; + verificationTypeInfo.tag = this.tag; + verificationTypeInfo.constantPoolName = this.constantPoolName; verificationTypeInfo.offset = this.offset; return verificationTypeInfo; }