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 39059 Details for
Bug 137744
[compiler] java.lang.ClassFormatError: test/B (Repetitive method name/signature)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Regression test
patch_137744_tests.txt (text/plain), 2.49 KB, created by
Olivier Thomann
on 2006-04-20 12:02:11 EDT
(
hide
)
Description:
Regression test
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-04-20 12:02:11 EDT
Size:
2.49 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_3.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_3.java,v >retrieving revision 1.78 >diff -u -r1.78 Compliance_1_3.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_3.java 29 Mar 2006 03:50:22 -0000 1.78 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/Compliance_1_3.java 20 Apr 2006 15:50:17 -0000 >@@ -52,7 +52,7 @@ > // All specified tests which does not belong to the class are skipped... > static { > // TESTS_NAMES = new String[] { "Bug58069" }; >-// TESTS_NUMBERS = new int[] { 104 }; >+// TESTS_NUMBERS = new int[] { 106 }; > // TESTS_RANGE = new int[] { 76, -1 }; > } > /* (non-Javadoc) >@@ -3634,4 +3634,62 @@ > "No enclosing instance of the type X is accessible in scope\n" + > "----------\n"); > } >+//https://bugs.eclipse.org/bugs/show_bug.cgi?id=137744 >+public void test106() { >+ this.runConformTest( >+ new String[] { >+ "X.java", >+ "public class X {\n" + >+ " public static void main(String[] args) {\n" + >+ " System.out.println(\"SUCCESS\");\n" + >+ " B a = new C();\n" + >+ " \n" + >+ " a.hasKursAt(1);\n" + >+ " }\n" + >+ "\n" + >+ "}", >+ "A.java", >+ "abstract public class A implements IA0 {\n" + >+ " int t;\n" + >+ " public A() {\n" + >+ " }\n" + >+ "}", >+ "B.java", >+ "abstract public class B extends A implements IA3, IA1 {\n" + >+ " int a;\n" + >+ " public B() {\n" + >+ " }\n" + >+ " public void test() { \n" + >+ " }\n" + >+ "}", >+ "C.java", >+ "public class C extends B implements IA4, IA2{\n" + >+ " int c;\n" + >+ " public C() {\n" + >+ " }\n" + >+ " public boolean hasKursAt(int zeitpunkt) {\n" + >+ " return false;\n" + >+ " }\n" + >+ "}", >+ "IA0.java", >+ "public interface IA0 {\n" + >+ " public void test();\n" + >+ "}", >+ "IA1.java", >+ "public interface IA1 extends IA0 {\n" + >+ " public boolean hasKursAt(int zeitpunkt);\n" + >+ "}", >+ "IA2.java", >+ "public interface IA2 extends IA0 {\n" + >+ " public boolean hasKursAt(int zeitpunkt);\n" + >+ "}", >+ "IA3.java", >+ "public interface IA3 extends IA2 {\n" + >+ "}", >+ "IA4.java", >+ "public interface IA4 extends IA3 {\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 137744
:
39037
|
39041
|
39047
|
39058
|
39059
|
39155