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 223780 Details for
Bug 394718
VerifyError: Inconsistent stackmap frames
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Regression test
patch_394718_tests.txt (text/plain), 1.94 KB, created by
Olivier Thomann
on 2012-11-20 20:44:29 EST
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2012-11-20 20:44:29 EST
Size:
1.94 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java >index 5e37b6f..3ad6a42 100644 >--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java >+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/StackMapAttributeTest.java >@@ -34,7 +34,7 @@ > // All specified tests which does not belong to the class are skipped... > static { > // TESTS_PREFIX = "testBug95521"; >-// TESTS_NAMES = new String[] { "testBug380313" }; >+// TESTS_NAMES = new String[] { "test394718" }; > // TESTS_NUMBERS = new int[] { 53 }; > // TESTS_RANGE = new int[] { 23 -1,}; > } >@@ -8161,4 +8161,42 @@ > assertEquals("Wrong contents", expectedOutput, actualOutput); > } > } >+ // from https://bugs.eclipse.org/bugs/show_bug.cgi?id=394718 >+ public void test394718() throws Exception { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X\n" + >+ "{\n" + >+ " public static Boolean test() throws Exception\n" + >+ " {\n" + >+ " try\n" + >+ " {\n" + >+ " for (int i = 0; i < 1; i++)\n" + >+ " {\n" + >+ " long status = System.currentTimeMillis();\n" + >+ " if (status < 0)\n" + >+ " return false;\n" + >+ " if (status == 1)\n" + >+ " return false;\n" + >+ " }\n" + >+ " \n" + >+ " return false;\n" + >+ " }\n" + >+ " finally\n" + >+ " {\n" + >+ " System.currentTimeMillis();\n" + >+ " }\n" + >+ " }\n" + >+ " \n" + >+ " public static void main(String[] args) throws Exception\n" + >+ " {\n" + >+ " System.out.print(\"Starting\");\n" + >+ " test();\n" + >+ " System.out.println(\"Done\");\n" + >+ " }\n" + >+ "}" >+ }, >+ "StartingDone"); >+ } > }
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 394718
:
223777
|
223779
| 223780