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 50108 Details for
Bug 157247
[1.6] [compiler] VerifyError with StackMap frames when no local variable attributes are generated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression tests for head
patch_157247_head_tests.txt (text/plain), 1.67 KB, created by
Olivier Thomann
on 2006-09-13 20:48:03 EDT
(
hide
)
Description:
Regression tests for head
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-09-13 20:48:03 EDT
Size:
1.67 KB
patch
obsolete
>### 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.11 >diff -u -r1.11 StackMapAttributeTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java 31 Aug 2006 22:01:51 -0000 1.11 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java 14 Sep 2006 00:42:57 -0000 >@@ -2067,4 +2067,32 @@ > assertEquals("Wrong contents", expectedOutput, actualOutput); > } > } >+ >+ // 157247 >+ public void test022() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " String errorMessage;\n" + >+ " try {\n" + >+ " foo();\n" + >+ " errorMessage = \"No exception thrown\";\n" + >+ " } catch (Exception e) {\n" + >+ " if (e instanceof NullPointerException) {\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " return;\n" + >+ " }\n" + >+ " errorMessage = \"Exception thrown\" + e;\n" + >+ " }\n" + >+ " System.out.println(errorMessage);\n" + >+ " }\n" + >+ " public static void foo() {\n" + >+ " throw new NullPointerException();\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 157247
:
50102
|
50105
|
50106
|
50107
| 50108