Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8194731 | 8u172 | Murali Billa | P4 | Resolved | Fixed | b02 |
Below SharedBuffer unit test cases are written with fixed segment size assumption. But after JDK-8187483, the behavior is changed to use variable size segments (https://trac.webkit.org/changeset/215686/webkit) .
Hence We need to remove the below unit test cases as they are invalid now:
1) modules/javafx.web/src/test/java/test/com/sun/webkit/SharedBufferTest.java
testGetSomeDataFirstSegmentLastTenBytesWithTruncation()
testGetSomeDataInteriorSegmentLastTenBytesWithTruncation()
testGetSomeDataFirstSegmentWithTruncation()
testGetSomeDataInteriorSegmentWithTruncation()
testAppendThreeSegments()
testAppendThreeSegmentsPlusSegmentPlusTenBytes()
testAppendTenBytesPlusSegmentPlusThreeSegments()
2) modules/javafx.web/src/test/java/test/com/sun/webkit/SimpleSharedBufferInputStreamTest.java
testRead3FirstSegmentLastTenBytesWithTruncation()
testRead3InteriorSegmentLastTenBytesWithTruncation()
testRead3FirstSegmentWithTruncation()
testRead3InteriorSegmentWithTruncation()
testRead3StandardUse()
testSkipOneByte()
testSkipTenBytes()
testCloseBeforeSubsequentRead()
testDoubleClose()
Hence We need to remove the below unit test cases as they are invalid now:
1) modules/javafx.web/src/test/java/test/com/sun/webkit/SharedBufferTest.java
testGetSomeDataFirstSegmentLastTenBytesWithTruncation()
testGetSomeDataInteriorSegmentLastTenBytesWithTruncation()
testGetSomeDataFirstSegmentWithTruncation()
testGetSomeDataInteriorSegmentWithTruncation()
testAppendThreeSegments()
testAppendThreeSegmentsPlusSegmentPlusTenBytes()
testAppendTenBytesPlusSegmentPlusThreeSegments()
2) modules/javafx.web/src/test/java/test/com/sun/webkit/SimpleSharedBufferInputStreamTest.java
testRead3FirstSegmentLastTenBytesWithTruncation()
testRead3InteriorSegmentLastTenBytesWithTruncation()
testRead3FirstSegmentWithTruncation()
testRead3InteriorSegmentWithTruncation()
testRead3StandardUse()
testSkipOneByte()
testSkipTenBytes()
testCloseBeforeSubsequentRead()
testDoubleClose()
- backported by
-
JDK-8194731 Need to remove SharedBuffer unit Test cases
-
- Resolved
-