JDK-2153750 : (ch) Channels.newOutputStream().write() does not write all data
  • Type: Backport
  • Backport of: JDK-6448457
  • Component: core-libs
  • Sub-Component: java.nio
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2007-10-01
  • Updated: 2011-02-16
  • Resolved: 2008-11-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 7
5.0u16-rev b07Fixed 7Fixed
Comments
EVALUATION The fix is to add a wrapper to loop through the ByteBuffer and invoke channel write explicitly if the ByteBuffer is not completly flushed
09-01-2008