JDK-8024788 : (fs) Files.readAllBytes uses FileChannel which may not be supported by all providers
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-09-13
  • Updated: 2014-02-12
  • Resolved: 2013-10-08
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.
JDK 7 JDK 8
7u60Fixed 8 b112Fixed
Description
Someone using a file system provider that doesn't support FileChannel has run into this, see:

http://mail.openjdk.java.net/pipermail/nio-dev/2013-September/002276.html
Comments
SQE is ok to take the fix in 7u60.
19-12-2013

Critical Request Template - Justification : Useful backport pointed out by Dev - Risk Analysis : Low risk. this has baked in JDK8 for over 2 months. - Webrev : http://hg.openjdk.java.net/jdk8/tl/jdk/rev/95bb56c61276 - Testing (done/to-be-done) : regression testing - Back ports (done/to-be-done) : n/a - FX Impact : (Client bugs only)
18-12-2013