JDK-8240725 : Some functions might not work with CJK character
  • Type: Bug
  • Component: core-libs
  • Affected Version: 11
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2020-03-09
  • Updated: 2022-02-24
  • Resolved: 2020-03-11
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 14 JDK 15
14.0.2Fixed 15 b14Fixed
Related Reports
Relates :  
Description
We found the issue that HotSpot does not start when it is deployed on the path which contains CJK character(s), and it has been fixed in JDK-8240197.

On the review of JDK-8240197 [1], we concern similar issue might occur in other place, and I found potentially problem in below:

- ZFILE_Open() @ zip_util.c
- JDK_Canonicalize() @ canonicalize_md.c (for Windows)
- create_unc_path() @ java_md.c (for Windows)
- Platform::MultibyteStringToWideString() @ WindowsPlatform.cpp


[1] https://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2020-March/038397.html
Comments
URL: https://hg.openjdk.java.net/jdk/jdk/rev/590ac5a59078 User: ysuenaga Date: 2020-03-11 04:15:53 +0000
11-03-2020