src/jdk.jpackage/share/native/libapplauncher/Package.cpp
branchJDK-8200758-branch
changeset 57450 82c78b40b39d
parent 57323 66c1dbc008c5
child 57455 f1290ca0fee6
--- a/src/jdk.jpackage/share/native/libapplauncher/Package.cpp	Tue Jul 02 12:03:49 2019 -0400
+++ b/src/jdk.jpackage/share/native/libapplauncher/Package.cpp	Wed Jul 03 17:36:06 2019 -0400
@@ -78,9 +78,7 @@
     // Main JAR.
     config->GetValue(keys[CONFIG_SECTION_APPLICATION],
             keys[CONFIG_MAINJAR_KEY], FBootFields->FMainJar);
-    FBootFields->FMainJar =
-            FilePath::IncludeTrailingSeparator(GetPackageAppDirectory())
-            + FilePath::FixPathForPlatform(FBootFields->FMainJar);
+    FBootFields->FMainJar = FilePath::FixPathForPlatform(FBootFields->FMainJar);
 
     // Main Module.
     config->GetValue(keys[CONFIG_SECTION_APPLICATION],