8000330: (fc) FileChannel.truncate issues when given size > file size

Jeff Hain jeffhain at rocketmail.com
Sat Nov 3 15:09:00 PDT 2012

>The webrev with the proposed changes is here:


position0(fd, p) is called even if position didn't change
(was already the case before).

Also the exception message could be "Negative size"
for homogeneity with map method.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20121103/0dd9ddde/attachment.html 

More information about the nio-dev mailing list