Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2021-05-31 11:01:17 +0000
committerJay Arthanareeswaran2021-06-01 04:51:08 +0000
commit6c5346e6b20e0e2cfc2fc914b5d2eaa9194e3914 (patch)
tree14ba7e100185e85b3b84c66a21af6bc5959021c5 /org.eclipse.jdt.core.tests.compiler/src
parent1787e34296d2a15591701831f0465d0832adc1f9 (diff)
downloadeclipse.jdt.core-6c5346e6b20e0e2cfc2fc914b5d2eaa9194e3914.tar.gz
eclipse.jdt.core-6c5346e6b20e0e2cfc2fc914b5d2eaa9194e3914.tar.xz
eclipse.jdt.core-6c5346e6b20e0e2cfc2fc914b5d2eaa9194e3914.zip
Revert "Bug 572431 - [16][pattern instanceof] VerifyError"I20210602-0600I20210601-1800I20210601-0600
This reverts commit 95d354b18f1b80cee514705869612f7c17488f19. Change-Id: I34cb1282afec6f8de6f39f73ec81d752a228b8a3 Reviewed-on: https://git.eclipse.org/r/c/jdt/eclipse.jdt.core/+/181187 Reviewed-by: Manoj Palat <manpalat@in.ibm.com> Tested-by: Jay Arthanareeswaran <jarthana@in.ibm.com>
Diffstat (limited to 'org.eclipse.jdt.core.tests.compiler/src')
-rw-r--r--org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java21
1 files changed, 0 insertions, 21 deletions
diff --git a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java
index a933b29ce8..9ff4f68838 100644
--- a/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java
+++ b/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/PatternMatching16Test.java
@@ -3707,25 +3707,4 @@ public class PatternMatching16Test extends AbstractRegressionTest {
"true",
options);
}
- public void testBug572431() {
- Map<String, String> options = getCompilerOptions(false);
- runConformTest(
- new String[] {
- "X.java",
- "public class X {\n"
- + " static public void something () {\n"
- + " boolean bool = true;\n"
- + " Object object = null;\n"
- + " if (object instanceof String string) {\n"
- + " } else if (bool && object instanceof Integer integer) {\n"
- + " }\n"
- + " }\n"
- + " static public void main (String[] args) throws Exception {\n"
- + " }\n"
- + " }",
- },
- "",
- options);
-
- }
}

Back to the top