JDK-8217093 : Support extended-length paths in parse_manifest.c on Windows
  • Type: Bug
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 11,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • CPU: generic
  • Submitted: 2019-01-15
  • Updated: 2020-01-30
  • Resolved: 2019-02-06
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 11 JDK 13
11.0.5Fixed 13 b07Fixed
Related Reports
Relates :  
Description
Currently in parse_manifest.c only `open` is called, which does not always support extended-length paths.
In case `open` fails, use `CreateFileW` with "\\?\" prefix to avoid the limitation.
Comments
Current status JDK11u backport: There were issues with the (Windows) build with the patch as is (that cleanly applies). Seems that the patch would need JDK-8210729 and 8210919 as prerequisite. Both seem to be good cleanups in the build system so I'm currently trying to see if everything is green without regressions when those two fixes are taken as well.
05-06-2019

It seems this backport was forgotten. Please see if it needs to be pushed to 11u?
29-05-2019

Fix Request I would like to have the extended path handling as well in jdk11, because on Windows the same problem exists in jdk11 as well. The patch applies cleanly.
15-03-2019