import org.eclipse.jdt.internal.compiler.ast.TypeDeclaration;
import org.eclipse.jdt.internal.compiler.ast.TypeReference;
import org.eclipse.jdt.internal.compiler.codegen.CodeStream;
+import org.eclipse.jdt.internal.compiler.lookup.ArrayBinding;
import org.eclipse.jdt.internal.compiler.lookup.ClassScope;
import org.eclipse.jdt.internal.compiler.lookup.MethodBinding;
import org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding;
// build the Object[]
codeStream.generateInlinedValue(nargs-1);
- codeStream.anewarrayJavaLangObject();
+ codeStream.newArray(classScope, new ArrayBinding(classScope.getType(TypeBinding.JAVA_LANG_OBJECT), 1));
int index = 0;
for (int i=0; i < nargs-1; i++) {
<run class="p2.Derived"/>
</ajc-test>
- <ajc-test dir="bugs" pr="38345" keywords="purejava"
+ <ajc-test dir="bugs" pr="38345"
title="try switch VerifyError, InconsistentStackHeight">
<compile files="TrySwitch.java"/>
<run class="TrySwitch"/>