JDK 9 RFR of JDK-8129759: Mark two tests from DistinctOpTest.java and SliceOpTest.java as serialization hostile

Paul Sandoz paul.sandoz at oracle.com
Wed Jun 24 08:10:23 UTC 2015


On Jun 24, 2015, at 10:05 AM, Amy Lu <amy.lu at oracle.com> wrote:
> Testcase testStable was newly introduced in JDK-8129120 in DistinctOpTest, this test should be marked as serialization-hostile. (such tests will ignored by by lambda serialization testing framework). testSkipLimitOpsWithNonSplittingSpliterator from SliceOpTest also need same change.
> 
> Please review and sponsor this change:
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8129759
> webrev: http://cr.openjdk.java.net/~amlu/8129759/webrev.00/
> 

+1

 193     @Test(groups = { "serialization-hostile" })
 194     public void testSkipLimitOpsWithNonSplittingSpliterator() {

I wonder why you needed to add since the changeset for JDK-8129120 did not modify SliceOpTest.

Paul.



More information about the core-libs-dev mailing list