Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8131140

Mark some tests from WhileOpStatefulTest.java and WhileOpTest.java as serialization hostile

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpTest.java

        The two tests were newly introduced in JDK-8071597, some test cases failed in SAND testing.
        They should be marked as serialization-hostile:

        org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountDropWithCount
        org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountDropWithToArray
        org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountTakeWithCount
        org.openjdk.tests.java.util.stream.WhileOpStatefulTest.testCountTakeWithToArray
        org.openjdk.tests.java.util.stream.WhileOpTest.testDoubleDefaultClose
        org.openjdk.tests.java.util.stream.WhileOpTest.testDropTakeWhileOps
        org.openjdk.tests.java.util.stream.WhileOpTest.testDropWhileOps
        org.openjdk.tests.java.util.stream.WhileOpTest.testIntDefaultClose
        org.openjdk.tests.java.util.stream.WhileOpTest.testLongDefaultClose
        org.openjdk.tests.java.util.stream.WhileOpTest.testRefDefaultClose
        org.openjdk.tests.java.util.stream.WhileOpTest.testTakeWhileOps

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                amlu Amy Lu (Inactive)
                Reporter:
                amlu Amy Lu (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: