8189953: FileHandler constructor throws NoSuchFileException with absolute path
jason_mehrens at hotmail.com
Thu Nov 2 17:55:48 UTC 2017
For more background on this issue I think you should link to this issue to the following:
From: core-libs-dev <core-libs-dev-bounces at openjdk.java.net> on behalf of Daniel Fuchs <daniel.fuchs at oracle.com>
Sent: Thursday, November 2, 2017 11:47 AM
Subject: RFR: 8189953: FileHandler constructor throws NoSuchFileException with absolute path
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