-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b72
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135965 | emb-9 | Amy Lu | P3 | Resolved | Fixed | team |
JDK-8309998 | 8u391 | Hari Rakesh | P3 | Resolved | Fixed | b01 |
testcase testStable was newly introduced in JDK-8129120 in DistinctOpTest, it failed in SAND testing. testcase testSkipLimitOpsWithNonSplittingSpliterator from SliceOpTest also start failing in SAND testing.
Tests should be marked as serialization-hostile.
java.lang.Error: STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT: java.lang.AssertionError: expected [1] but found [0]
Stacktrace:
at org.testng.Assert.fail(Assert.java:89)
at java.util.stream.OpTestCase$ExerciseDataStreamBuilder.exercise(OpTestCase.java:435)
at org.openjdk.tests.java.util.stream.DistinctOpTest.testStable(DistinctOpTest.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at org.testng.TestNG.privateMain(TestNG.java:1337)
at org.testng.TestNG.main(TestNG.java:1306)
Tests should be marked as serialization-hostile.
java.lang.Error: STREAM_SPLITERATOR_WITH_MIXED_TRAVERSE_AND_SPLIT: java.lang.AssertionError: expected [1] but found [0]
Stacktrace:
at org.testng.Assert.fail(Assert.java:89)
at java.util.stream.OpTestCase$ExerciseDataStreamBuilder.exercise(OpTestCase.java:435)
at org.openjdk.tests.java.util.stream.DistinctOpTest.testStable(DistinctOpTest.java:198)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:502)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
at org.testng.internal.Invoker.invokeMethod(Invoker.java:715)
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:907)
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1237)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
at org.testng.TestRunner.privateRun(TestRunner.java:767)
at org.testng.TestRunner.run(TestRunner.java:617)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
at org.testng.SuiteRunner.run(SuiteRunner.java:240)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:51)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:85)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
at org.testng.TestNG.run(TestNG.java:1030)
at org.testng.TestNG.privateMain(TestNG.java:1337)
at org.testng.TestNG.main(TestNG.java:1306)
- backported by
-
JDK-8135965 Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
- Resolved
-
JDK-8309998 Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile
- Resolved
- relates to
-
JDK-8129120 Terminal operation properties should not be back-propagated to upstream operations
- Closed