File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
launcher-impl/bootstrap/src/main/java/com/fujitsu/launcher Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2017-2021 Fujitsu Limited and/or its affiliates. All rights
2
+ * Copyright (c) 2017-2022 Fujitsu Limited and/or its affiliates. All rights
3
3
* reserved.
4
4
*
5
5
* This program and the accompanying materials are made available under the
@@ -243,7 +243,7 @@ private Path getTemplate() throws IOException {
243
243
return Paths .get (jarURLConnection .getJarFile ().getName ());
244
244
}
245
245
246
- private void initProductName () {
246
+ public static void initProductName () {
247
247
if (System .getProperty ("product.name" ) == null ) {
248
248
System .setProperty ("product.name" , "" );
249
249
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2017-2019 Fujitsu Limited and/or its affiliates. All rights
2
+ * Copyright (c) 2017-2022 Fujitsu Limited and/or its affiliates. All rights
3
3
* reserved.
4
4
*
5
5
* This program and the accompanying materials are made available under the
@@ -47,6 +47,8 @@ private void start() {
47
47
DeployProperties deployProperties = new DeployProperties ();
48
48
deployProperties .load (dpis );
49
49
50
+ LauncherMain .initProductName ();
51
+
50
52
Thread preInitShutdownHook = LauncherMain .createPreInitShutdownHook ();
51
53
Runtime .getRuntime ().addShutdownHook (preInitShutdownHook );
52
54
You can’t perform that action at this time.
0 commit comments