View | Details | Raw Unified | Return to bug 169596 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java (+19 lines)
Lines 2153-2156 Link Here
2153
            },
2153
            },
2154
			"SUCCESS");
2154
			"SUCCESS");
2155
	}
2155
	}
2156
	// https://bugs.eclipse.org/bugs/show_bug.cgi?id=169596
2157
	public void test025() {
2158
		this.runConformTest(
2159
	        new String[] {
2160
	    		"X.java",
2161
	    		"public class X {\n" + 
2162
	    		"	public static void main(String[] args) {\n" + 
2163
	    		"		System.out.println(\"SUCCESS\");\n" + 
2164
	    		"	}\n" + 
2165
	    		"	\n" + 
2166
	    		"	void foo(Object[] o) {}\n" + 
2167
	    		"\n" + 
2168
	    		"	void bar(boolean b) {\n" + 
2169
	    		"		foo(new Object[] {\"\", \"\", b ? \"\" : \"\"}); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ \n" + 
2170
	    		"	}\n" + 
2171
	    		"}"
2172
	        },
2173
			"SUCCESS");
2174
	}
2156
}
2175
}

Return to bug 169596