JDK-4700220 : Support for filenames longer than 259 characters on Windows
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.io
  • Affected Version: 1.4.0_01
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2002-06-11
  • Updated: 2002-06-11
  • Resolved: 2002-06-11
Related Reports
Duplicate :  
Description
Java runtime does not support access to file names (file paths) longer than 259 characters on Windows.

Windows platform now has support for filenames upto nearly 32000 characters through UNC names. Please see the following MSDN link for more information --

http://msdn.microsoft.com/library/en-us/fileio/storage_7mn9.asp

The longer names are supported in Windows CreateFile function.

For a test case, please see the attachment.