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

Collapse All | Expand All

(-)src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java (-3 / +17 lines)
Lines 35-45 Link Here
35
35
36
	// Static initializer to specify tests subset using TESTS_* static variables
36
	// Static initializer to specify tests subset using TESTS_* static variables
37
	// All specified tests which does not belong to the class are skipped...
37
	// All specified tests which does not belong to the class are skipped...
38
//	static {
38
	static {
39
//		TESTS_NAMES = new String[] { "test000" };
39
//		TESTS_NAMES = new String[] { "test000" };
40
//		TESTS_NUMBERS = new int[] { 65 };
40
//		TESTS_NUMBERS = new int[] { 147 };
41
//		TESTS_RANGE = new int[] { 11, -1 };
41
//		TESTS_RANGE = new int[] { 11, -1 };
42
//	}
42
	}
43
	public static Test suite() {
43
	public static Test suite() {
44
		return buildComparableTestSuite(testClass());
44
		return buildComparableTestSuite(testClass());
45
	}
45
	}
Lines 4336-4339 Link Here
4336
		settings,
4336
		settings,
4337
		null);		
4337
		null);		
4338
}
4338
}
4339
//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957
4340
public void test147() {
4341
	this.runConformTest(
4342
		new String[] {
4343
			"X.java",
4344
			"public class X {\n" + 
4345
			"	public static void main(String[] args) {\n" + 
4346
			"		if(new Integer(2) == 0) {}\n" + 
4347
			"		System.out.println(\"SUCCESS\");\n" + 
4348
			"	}\n" + 
4349
			"}",
4350
		},
4351
		"SUCCESS");
4352
}
4339
}
4353
}

Return to bug 184957