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 52304 Details for
Bug 161554
org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1050 fails on IBM JDK 1.5 VM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_ibmsr3.txt (text/plain), 2.34 KB, created by
Olivier Thomann
on 2006-10-19 08:05:54 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-10-19 08:05:54 EDT
Size:
2.34 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java,v >retrieving revision 1.542 >diff -u -r1.542 GenericTypeTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 19 Oct 2006 08:20:40 -0000 1.542 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 19 Oct 2006 12:08:33 -0000 >@@ -33,7 +33,7 @@ > // All specified tests which does not belong to the class are skipped... > static { > // TESTS_NAMES = new String[] { "test0788" }; >-// TESTS_NUMBERS = new int[] { 1050, 1054 }; >+// TESTS_NUMBERS = new int[] { 1050 }; > // TESTS_RANGE = new int[] { 821, -1 }; > } > public static Test suite() { >@@ -33744,16 +33744,9 @@ > String expectedOutput = > "xxx\n" + > "true\n" + >- "Exception: java.lang.ClassCastException: [Ljava.lang.Object;\n" + >- "Exception: java.lang.ClassCastException: [Ljava.lang.Object;"; >- >- if (isJRELevel(AbstractCompilerTest.F_1_6)) { >- expectedOutput = >- "xxx\n" + >- "true\n" + >- "Exception: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;\n" + >- "Exception: java.lang.ClassCastException: [Ljava.lang.Object; cannot be cast to [Ljava.lang.String;"; >- } >+ "ClassCastException: Object[] cannot be cast to String[]\n" + >+ "ClassCastException: Object[] cannot be cast to String[]"; >+ > this.runConformTest( > new String[] { > "X.java", //======================== >@@ -33784,12 +33777,12 @@ > " try {\n" + > " System.out.println(data[0]);\n" + > " } catch (ClassCastException e) {\n" + >- " System.out.println(\"Exception: \" + e);\n" + >+ " System.out.println(\"ClassCastException: Object[] cannot be cast to String[]\");\n" + > " }\n" + > " try {\n" + > " System.out.println(data()[0]);\n" + > " } catch (ClassCastException e) {\n" + >- " System.out.println(\"Exception: \" + e);\n" + >+ " System.out.println(\"ClassCastException: Object[] cannot be cast to String[]\");\n" + > " }\n" + > " }\n" + > "}\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 161554
: 52304