comment out Optional.or tests for evaluating coverage JDK-8195649-branch
authorsmarks
Wed, 28 Mar 2018 11:06:28 -0700
branchJDK-8195649-branch
changeset 56359 6d9744c78001
parent 56358 bcc8ae80f427
child 56360 44f4a81c3b96
comment out Optional.or tests for evaluating coverage
test/jdk/java/util/Optional/Basic.java
--- a/test/jdk/java/util/Optional/Basic.java	Wed Mar 28 10:01:52 2018 -0700
+++ b/test/jdk/java/util/Optional/Basic.java	Wed Mar 28 11:06:28 2018 -0700
@@ -183,6 +183,7 @@
                      "plugh");
     }
 
+/*
     @Test
     public void testOrEmptyEmpty() {
         checkEmpty(Optional.<String>empty().or(() -> Optional.empty()));
@@ -197,6 +198,7 @@
     public void testOrPresentDontCare() {
         checkPresent(Optional.of("xyzzy").or(() -> { fail(); return Optional.of("plugh"); }), "xyzzy");
     }
+*/
 
     @Test
     public void testStreamEmpty() {