Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 65555 Details for
Bug 184957
[1.5][compiler] Compiler crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression test
patch_184957_tests.txt (text/plain), 1.50 KB, created by
Olivier Thomann
on 2007-05-01 21:03:15 EDT
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-01 21:03:15 EDT
Size:
1.50 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java,v >retrieving revision 1.107 >diff -u -r1.107 AutoBoxingTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 15 Mar 2007 14:04:30 -0000 1.107 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/AutoBoxingTest.java 2 May 2007 00:49:09 -0000 >@@ -35,11 +35,11 @@ > > // Static initializer to specify tests subset using TESTS_* static variables > // All specified tests which does not belong to the class are skipped... >-// static { >+ static { > // TESTS_NAMES = new String[] { "test000" }; >-// TESTS_NUMBERS = new int[] { 65 }; >+// TESTS_NUMBERS = new int[] { 147 }; > // TESTS_RANGE = new int[] { 11, -1 }; >-// } >+ } > public static Test suite() { > return buildComparableTestSuite(testClass()); > } >@@ -4336,4 +4336,18 @@ > settings, > null); > } >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=184957 >+public void test147() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " if(new Integer(2) == 0) {}\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184957
:
65554
|
65555
|
65557
|
65558
|
65559
|
65619
|
65620
|
65913