-
Bug
-
Resolution: Fixed
-
P4
-
8u31
-
x86
-
windows_8
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8234378 | 8u251 | Padmapriya Prasad | P4 | Resolved | Fixed | b01 |
JDK-8239775 | emb-8u251 | Padmapriya Prasad | P4 | Resolved | Fixed | team |
A DESCRIPTION OF THE PROBLEM :
The page contains the following code:
FileSystem fs = FileSystems.newFileSystem(zipfile, env, null);
However, this method does not exist & the code should be changed to:
FileSystem fs = FileSystems.newFileSystem(zipfile.toUri(), env, null);
and/or
FileSystem fs = FileSystems.newFileSystem(zipfile, null);
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/technotes/guides/io/fsp/zipfilesystemprovider.html
The page contains the following code:
FileSystem fs = FileSystems.newFileSystem(zipfile, env, null);
However, this method does not exist & the code should be changed to:
FileSystem fs = FileSystems.newFileSystem(zipfile.toUri(), env, null);
and/or
FileSystem fs = FileSystems.newFileSystem(zipfile, null);
URL OF FAULTY DOCUMENTATION :
http://docs.oracle.com/javase/8/docs/technotes/guides/io/fsp/zipfilesystemprovider.html
- backported by
-
JDK-8234378 Documentation code uses inexistant method in java.nio.file.FileSystems
- Resolved
-
JDK-8239775 Documentation code uses inexistant method in java.nio.file.FileSystems
- Resolved