### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java,v retrieving revision 1.14 diff -u -r1.14 StackMapFrameCodeStream.java --- compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java 22 Dec 2006 20:58:35 -0000 1.14 +++ compiler/org/eclipse/jdt/internal/compiler/codegen/StackMapFrameCodeStream.java 5 Jan 2007 03:39:33 -0000 @@ -111,7 +111,13 @@ } public void anewarray(TypeBinding typeBinding) { super.anewarray(typeBinding); - this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = new VerificationTypeInfo(typeBinding); + char[] constantPoolName = typeBinding.constantPoolName(); + int length = constantPoolName.length; + System.arraycopy(constantPoolName, 0, (constantPoolName = new char[length + 3]), 2, length); + constantPoolName[0] = '['; + constantPoolName[1] = 'L'; + constantPoolName[length + 2] = ';'; + this.currentFrame.stackItems[this.currentFrame.numberOfStackItems - 1] = new VerificationTypeInfo(typeBinding.id, constantPoolName); } public void areturn() { super.areturn();