JDK-8271155 : Wrong path separator in env variable
  • Type: Bug
  • Component: tools
  • Sub-Component: jpackage
  • Affected Version: 17
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: generic
  • Submitted: 2021-07-22
  • Updated: 2021-08-09
  • Resolved: 2021-07-22
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 17 JDK 18
17 b33Fixed 18Fixed
Related Reports
Relates :  
Relates :  
Description
";" path separator is used to join paths of UNIX env variable by jpackage - https://github.com/openjdk/jdk/blob/master/src/jdk.jpackage/share/native/applauncher/AppLauncher.cpp#L116
":" should be used on UNIX and ";" should be used on Windows.
Comments
Verified with jtreg test form JDK-8271170
09-08-2021

Fix request approved for JDK 17.
22-07-2021

Changeset: 7165b3f1 Author: Alexey Semenyuk <asemenyuk@openjdk.org> Date: 2021-07-22 22:14:31 +0000 URL: https://git.openjdk.java.net/jdk17/commit/7165b3f105621398d7673253b6324e97ba0d2eee
22-07-2021

Fix Request It is important to fix the issue in jdk17 as it makes unusable jpackage-packed apps with native libraries on Linux and OSX. The fix is low risk simple one-liner.
22-07-2021