hg: jdk/hs: 8188122: Path length limits on Windows leads to obscure class loading failures

calvin.cheung at oracle.com calvin.cheung at oracle.com
Tue Nov 21 17:55:11 UTC 2017


Changeset: df39ee817323
Author:    ccheung
Date:      2017-11-21 09:49 -0800
URL:       http://hg.openjdk.java.net/jdk/hs/rev/df39ee817323

8188122: Path length limits on Windows leads to obscure class loading failures
Summary: Used the unicode version of windows API's to handled long paths and avoid using the stat() function.
Reviewed-by: stuefe, iklam

! src/hotspot/os/windows/os_windows.cpp
! src/hotspot/share/classfile/classLoader.cpp
+ test/hotspot/jtreg/runtime/LoadClass/LongBCP.java
+ test/hotspot/jtreg/runtime/LoadClass/test-classes/Hello.java



More information about the jdk-all-changes mailing list