RFR: 8189953: FileHandler constructor throws NoSuchFileException with absolute path
daniel.fuchs at oracle.com
Thu Nov 2 16:47:10 UTC 2017
Please find below a patch for:
8189953: FileHandler constructor throws NoSuchFileException
with absolute path
This is a windows only bug.
The issue is caused by a change that happen somewhen between
8 and 9, where new File(new File("C:"),"Workspace") was fixed
to return "C:Workspace" and not "C:\\Workspace".
This uncovered a bug in the FileHandler::generate algorithm.
The FileHandler::generate algorithm could arguably be improved
by being entirely rewritten but I choose to keep the changes
as minimal as I could.
More information about the core-libs-dev