8155939: sun.launcher.LauncherHelper INSTANCE is unused
authorredestad
Wed, 04 May 2016 16:55:03 +0200
changeset 37788 81ce381a91f6
parent 37787 de878aeb7ed2
child 37789 d18410086785
8155939: sun.launcher.LauncherHelper INSTANCE is unused Reviewed-by: rriggs, ksrini
jdk/src/java.base/share/classes/sun/launcher/LauncherHelper.java
--- a/jdk/src/java.base/share/classes/sun/launcher/LauncherHelper.java	Wed May 04 16:41:07 2016 +0300
+++ b/jdk/src/java.base/share/classes/sun/launcher/LauncherHelper.java	Wed May 04 16:55:03 2016 +0200
@@ -84,8 +84,10 @@
 import jdk.internal.misc.VM;
 
 
-public enum LauncherHelper {
-    INSTANCE;
+public final class LauncherHelper {
+
+    // No instantiation
+    private LauncherHelper() {}
 
     // used to identify JavaFX applications
     private static final String JAVAFX_APPLICATION_MARKER =