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 41052 Details for
Bug 141155
[1.5][compiler] Enum valueOf(String) method should not be final
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Updated regression tests
patch_141155_tests.txt (text/plain), 1.75 KB, created by
Olivier Thomann
on 2006-05-10 17:32:11 EDT
(
hide
)
Description:
Updated regression tests
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-05-10 17:32:11 EDT
Size:
1.75 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java,v >retrieving revision 1.100 >diff -u -r1.100 EnumTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java 10 May 2006 20:47:34 -0000 1.100 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java 10 May 2006 21:34:52 -0000 >@@ -2443,8 +2443,8 @@ > > String[] expectedOutputs = new String[] { > " private strictfp X(java.lang.String arg0, int arg1);\n", >- " public static final strictfp X[] values();\n", >- " public static final strictfp X valueOf(java.lang.String arg0);\n" >+ " public static strictfp X[] values();\n", >+ " public static strictfp X valueOf(java.lang.String arg0);\n" > }; > > ClassFileBytesDisassembler disassembler = ToolFactory.createDefaultClassFileBytesDisassembler(); >@@ -2932,7 +2932,7 @@ > " \n" + > " // Method descriptor #21 ()[LX;\n" + > " // Stack: 5, Locals: 3\n" + >- " public static final X[] values();\n" + >+ " public static X[] values();\n" + > " 0 getstatic X.ENUM$VALUES : X[] [10]\n" + > " 3 dup\n" + > " 4 astore_0\n" + >@@ -2954,7 +2954,7 @@ > " \n" + > " // Method descriptor #29 (Ljava/lang/String;)LX;\n" + > " // Stack: 3, Locals: 4\n" + >- " public static final X valueOf(java.lang.String arg0);\n" + >+ " public static X valueOf(java.lang.String arg0);\n" + > " 0 getstatic X.ENUM$VALUES : X[] [10]\n" + > " 3 dup\n" + > " 4 astore_1\n" +
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 141155
:
41041
|
41049
| 41052