### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core.tests.compiler Index: src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java,v retrieving revision 1.18 diff -u -r1.18 StackMapAttributeTest.java --- src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java 22 Dec 2006 20:58:22 -0000 1.18 +++ src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java 5 Jan 2007 03:46:04 -0000 @@ -2153,4 +2153,23 @@ }, "SUCCESS"); } + // https://bugs.eclipse.org/bugs/show_bug.cgi?id=169596 + public void test025() { + this.runConformTest( + new String[] { + "X.java", + "public class X {\n" + + " public static void main(String[] args) {\n" + + " System.out.println(\"SUCCESS\");\n" + + " }\n" + + " \n" + + " void foo(Object[] o) {}\n" + + "\n" + + " void bar(boolean b) {\n" + + " foo(new Object[] {\"\", \"\", b ? \"\" : \"\"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ \n" + + " }\n" + + "}" + }, + "SUCCESS"); + } }