hg: jdk8/tl/jdk: 8000330: (fc) FileChannel.truncate issues when given size > file size; ...

alan.bateman at oracle.com alan.bateman at oracle.com
Sun Nov 4 06:11:28 PST 2012


Changeset: bc09a1591629
Author:    alanb
Date:      2012-11-04 14:07 +0000
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/bc09a1591629

8000330: (fc) FileChannel.truncate issues when given size > file size
8002180: (fc) FileChannel.map does not throw NPE if MapMode specified as null
Reviewed-by: chegar

! src/share/classes/sun/nio/ch/FileChannelImpl.java
! test/java/nio/channels/FileChannel/MapTest.java
! test/java/nio/channels/FileChannel/Truncate.java




More information about the compiler-dev mailing list