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 51408 Details for
Bug 159654
[compiler] unverifiable bytecode created by current cvs head compiler
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression test
patch_159654_tests.txt (text/plain), 1.20 KB, created by
Olivier Thomann
on 2006-10-04 10:44:38 EDT
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-10-04 10:44:38 EDT
Size:
1.20 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/CastTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/CastTest.java,v >retrieving revision 1.37 >diff -u -r1.37 CastTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/CastTest.java 3 Oct 2006 15:19:13 -0000 1.37 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/CastTest.java 4 Oct 2006 14:48:05 -0000 >@@ -1559,6 +1559,25 @@ > "Zork cannot be resolved to a type\n" + > "----------\n"); > } >+public void test042() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "import java.util.List;\n" + >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " System.out.print(\"SUCCESS\"); \n" + >+ " }\n" + >+ " \n" + >+ " public static void foo(boolean b, List l) {\n" + >+ " if (b) {\n" + >+ " String s = (String) l.get(0);\n" + >+ " }\n" + >+ " }\n" + >+ "}", >+ }, >+ "SUCCESS"); >+} > public static Class testClass() { > return CastTest.class; > }
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 159654
:
51382
|
51407
|
51408
|
51409
|
51412
|
51413