Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Herrmann2013-05-01 18:08:26 +0000
committerStephan Herrmann2013-05-01 19:49:15 +0000
commit63010decdc2159ffc02f4c5de41c7013312d0748 (patch)
tree52034f5d1c2b997232b7ba03fe281b028a01267c /org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java
parent0b62c4ba651c88b312a6ac404a598938ab9d8927 (diff)
downloadorg.eclipse.objectteams-63010decdc2159ffc02f4c5de41c7013312d0748.tar.gz
org.eclipse.objectteams-63010decdc2159ffc02f4c5de41c7013312d0748.tar.xz
org.eclipse.objectteams-63010decdc2159ffc02f4c5de41c7013312d0748.zip
Update jdt.core and tests to 5138a70372af4817aefdd3da44dfadf7f7557bf3
+ plus some merge-related fixes
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java')
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java
index b6cb60cd9..aa2bf5b8a 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/EnumTest.java
@@ -5,12 +5,17 @@
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
+ * This is an implementation of an early-draft specification developed under the Java
+ * Community Process (JCP) and is made available for testing and evaluation purposes
+ * only. The code is not compatible with any specification of the JCP.
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Stephan Herrmann - Contributions for
* Bug 365519 - editorial cleanup after bug 186342 and bug 365387
* Bug 265744 - Enum switch should warn about missing default
* Bug 374605 - Unreasonable warning for enum-based switch statements
+ * bug 388739 - [1.8][compiler] consider default methods when detecting whether a class needs to be declared abstract
*******************************************************************************/
package org.eclipse.jdt.core.tests.compiler.regression;
@@ -3007,7 +3012,7 @@ public void test095() { // check missing abstract cases from multiple interfaces
"1. ERROR in X.java (at line 1)\n" +
" public enum X implements I, J { \n" +
" ^\n" +
- "The type X must implement the inherited abstract method I.foo()\n" +
+ "The type X must implement the inherited abstract method J.foo()\n" +
"----------\n");
this.runNegativeTest(
new String[] {

Back to the top