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 50208 Details for
Bug 157389
[1.4][compiler] assertionStatus is not set properly for nested types
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression tests for 3.2 maintenance branch
patch_157389_tests.txt (text/plain), 1.54 KB, created by
Olivier Thomann
on 2006-09-14 17:19:07 EDT
(
hide
)
Description:
Regression tests for 3.2 maintenance branch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-09-14 17:19:07 EDT
Size:
1.54 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/AssertionTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/AssertionTest.java,v >retrieving revision 1.17 >diff -u -r1.17 AssertionTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/AssertionTest.java 29 Mar 2006 03:50:22 -0000 1.17 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/AssertionTest.java 14 Sep 2006 21:22:39 -0000 >@@ -297,5 +297,29 @@ > }, > "SUCCESS"); // expected output > } >- >+ >+ /** >+ * http://dev.eclipse.org/bugs/show_bug.cgi?id=157389 >+ */ >+ public void test013() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " static class Y {\n" + >+ " public static void test() {\n" + >+ " assert false;\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " }\n" + >+ " }\n" + >+ " public static void main(String[] args) {\n" + >+ " ClassLoader classLoader = new X().getClass().getClassLoader();\n" + >+ " // enable assertion for X.Y\n" + >+ " classLoader.setClassAssertionStatus(\"X$Y\", true);\n" + >+ " X.Y.test();\n" + >+ " }\n" + >+ "}" >+ }, >+ "SUCCESS"); // expected output >+ } > }
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 157389
:
50199
| 50208 |
50224
|
50225