-
Type:
Sub-task
-
Resolution: Unresolved
-
Priority:
P4
-
None
-
Affects Version/s: 26
-
Component/s: core-libs
The `java.io` package is updated so that the `java.io.File` class can optionally exhibit legacy behavior for the empty abstract pathname ("") when the property `jdk.io.File.failIfEmptyPath` is set to `true`. The change made for [JDK-8024695](https://bugs.openjdk.org/browse/JDK-8024695) to have `java.io.File` treat the empty pathname as the current working directory caused unexpected behavior in libraries which were depending on the prior unspecified behavior. This property enables applications using such libraries to circumvent their unexpected behavior.