View | Details | Raw Unified | Return to bug 141327
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrame.java (-1 / +3 lines)
Lines 94-100 Link Here
94
	this.addStackItem(new VerificationTypeInfo(binding));
94
	this.addStackItem(new VerificationTypeInfo(binding));
95
}
95
}
96
public Object clone() throws CloneNotSupportedException {
96
public Object clone() throws CloneNotSupportedException {
97
	StackMapFrame result = new StackMapFrame();
97
	StackMapFrame result = (StackMapFrame) super.clone();
98
	result.numberOfLocals = -1;
99
	result.numberOfDifferentLocals = -1;
98
	result.pc = this.pc;
100
	result.pc = this.pc;
99
	result.numberOfStackItems = this.numberOfStackItems;
101
	result.numberOfStackItems = this.numberOfStackItems;
100
	
102
	
(-)compiler/org/eclipse/jdt/internal/compiler/codegen/VerificationTypeInfo.java (-1 / +4 lines)
Lines 151-157 Link Here
151
	return String.valueOf(buffer);
151
	return String.valueOf(buffer);
152
}
152
}
153
protected Object clone() throws CloneNotSupportedException {
153
protected Object clone() throws CloneNotSupportedException {
154
	final VerificationTypeInfo verificationTypeInfo = new VerificationTypeInfo(this.id, this.tag, this.constantPoolName);
154
	final VerificationTypeInfo verificationTypeInfo = (VerificationTypeInfo) super.clone();
155
	verificationTypeInfo.id = this.id;
156
	verificationTypeInfo.tag = this.tag;
157
	verificationTypeInfo.constantPoolName = this.constantPoolName;
155
	verificationTypeInfo.offset = this.offset;
158
	verificationTypeInfo.offset = this.offset;
156
	return verificationTypeInfo;
159
	return verificationTypeInfo;
157
}
160
}

Return to bug 141327