Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2192851 | 1.4.2_27 | Karunakar Gajjala | P3 | Closed | Fixed | b01 |
JDK-2190153 | 1.4.2_26-rev | Karunakar Gajjala | P3 | Resolved | Fixed | b04 |
When user sets DatagramChannel to 3rd arg. of transferTo(),
IOException occurs.
CONFIGURATION:
OS : Solaris 10
JDK : 1.4.2_20
REPRODUCE:
1. Compile the attached transferToDatagram.java
2. Invoke java transferToDatagram <org file> <target file> as follows.
Then you can see an IOException as follows.
goedel[50]% java transferToDatagram from to
transferTo : pos=0, len=1708, pos+len=1708
Client
java.io.IOException: Operation not supported on transport endpoint
at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:39
2)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:487)
at transferToDatagram.main(transferToDatagram.java:57)
goedel[51]%
IOException occurs.
CONFIGURATION:
OS : Solaris 10
JDK : 1.4.2_20
REPRODUCE:
1. Compile the attached transferToDatagram.java
2. Invoke java transferToDatagram <org file> <target file> as follows.
Then you can see an IOException as follows.
goedel[50]% java transferToDatagram from to
transferTo : pos=0, len=1708, pos+len=1708
Client
java.io.IOException: Operation not supported on transport endpoint
at sun.nio.ch.FileChannelImpl.transferTo0(Native Method)
at sun.nio.ch.FileChannelImpl.transferToDirectly(FileChannelImpl.java:39
2)
at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:487)
at transferToDatagram.main(transferToDatagram.java:57)
goedel[51]%
- backported by
-
JDK-2190153 (fc) FileChannel.transferTo to DatagramChannel fails with "Operation not supported" (sol)
-
- Resolved
-
-
JDK-2192851 (fc) FileChannel.transferTo to DatagramChannel fails with "Operation not supported" (sol)
-
- Closed
-
- duplicates
-
JDK-6892800 [1.4.2] : IOException occurs when Pipe.SinkChannel is set to 3rd arg. of transferTo()
-
- Closed
-
- relates to
-
JDK-6924100 2 Charset tests failed with NPE with 1.4.2_25 nightly build
-
- Closed
-
-
JDK-6926829 Modify testcase for fix # 6896219
-
- Resolved
-