Skip to content
This repository was archived by the owner on Sep 2, 2022. It is now read-only.

Commit 7165b3f

Browse files
author
Alexey Semenyuk
committed
8271155: Wrong path separator in env variable
Reviewed-by: herrick, kcr, iris, almatvee
1 parent ecc37b0 commit 7165b3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jdk.jpackage/share/native/applauncher/AppLauncher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Jvm* AppLauncher::createJvmLauncher() const {
113113
}
114114

115115
SysInfo::setEnvVariable(libEnvVarName, SysInfo::getEnvVariable(
116-
std::nothrow, libEnvVarName) + _T(";") + appDirPath);
116+
std::nothrow, libEnvVarName) + FileUtils::pathSeparator + appDirPath);
117117

118118
std::unique_ptr<Jvm> jvm(new Jvm());
119119

0 commit comments

Comments
 (0)