GeezerVison is showing github.com — Auto-port 4.1: FileRegion: Remove outdated JDK upgrade warning (#17311) · lltopk/netty@d85b9fd
File tree
Expand file treeCollapse file tree
Open diff view settings
transport/src/main/java/io/netty/channel
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: transport/src/main/java/io/netty/channel/FileRegion.java -17Lines changed: 0 additions & 17 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
25 | 25 | * A region of a file that is sent via a {@link Channel} which supports |
26 | 26 | * <a href="https://en.wikipedia.org/wiki/Zero-copy">zero-copy file transfer</a>. |
27 | 27 | * |
28 | | - * <h3>Upgrade your JDK / JRE</h3> |
29 | | - * |
30 | | - * {@link FileChannel#transferTo(long, long, WritableByteChannel)} has at least |
31 | | - * four known bugs in the old versions of Sun JDK and perhaps its derived ones. |
32 | | - * Please upgrade your JDK to 1.6.0_18 or later version if you are going to use |
33 | | - * zero-copy file transfer. |
34 | | - * <ul> |
35 | | - * <li><a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=5103988">5103988</a> |
36 | | - * - FileChannel.transferTo() should return -1 for EAGAIN instead throws IOException</li> |
37 | | - * <li><a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6253145">6253145</a> |
38 | | - * - FileChannel.transferTo() on Linux fails when going beyond 2GB boundary</li> |
39 | | - * <li><a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6427312">6427312</a> |
40 | | - * - FileChannel.transferTo() throws IOException "system call interrupted"</li> |
41 | | - * <li><a href="https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6524172">6470086</a> |
42 | | - * - FileChannel.transferTo(2147483647, 1, channel) causes "Value too large" exception</li> |
43 | | - * </ul> |
44 | | - * |
45 | 28 | * <h3>Check your operating system and JDK / JRE</h3> |
46 | 29 | * |
47 | 30 | * If your operating system (or JDK / JRE) does not support zero-copy file |
|