Browse Source

Remove some TODOs from tests after upstream JDT Core fixes

Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
tags/V1_9_21_1
Alexander Kriegisch 4 months ago
parent
commit
696aec651b

+ 1
- 1
tests/features1919/java19/SwitchPatternPreview3OK.java View File

@@ -157,7 +157,7 @@ public class SwitchPatternPreview3OK {
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
* TODO: reactivate when implemented or move to preview 4 with Java 20.
* DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits A, B {}

+ 1
- 1
tests/features1920/java20/SwitchPatternPreview4OK.java View File

@@ -130,7 +130,7 @@ public class SwitchPatternPreview4OK {
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
* TODO: reactivate when implemented or move to preview 5 with Java 21.
* DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits D, E {}

+ 0
- 2
tests/features1921/java21/SwitchPatternPreview4OK.java View File

@@ -129,8 +129,6 @@ public class SwitchPatternPreview4OK {
* https://openjdk.java.net/jeps/420#2--Exhaustiveness-of-switch-expressions-and-statements
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
* TODO: reactivate when implemented or move to preview 5 with Java 21.
*/
sealed interface I<T> permits D, E {}
final static class D<X> implements I<String> {}

+ 2
- 0
tests/features199/java18/SwitchPatternPreview2OK.java View File

@@ -97,6 +97,8 @@ public class SwitchPatternPreview2OK {
* https://openjdk.java.net/jeps/420#2--Exhaustiveness-of-switch-expressions-and-statements
* https://bugs.eclipse.org/bugs/show_bug.cgi?id=579360
* https://github.com/eclipse-jdt/eclipse.jdt.core/issues/587
*
* DONE: reactivated after fix in Java 21
*/
/*
sealed interface I<T> permits A, B {}

Loading…
Cancel
Save