8011373: Property java.runtime.profile should be removed (left-over code)

Alan Bateman Alan.Bateman at oracle.com
Wed Apr 3 11:14:41 UTC 2013


I need a reviewer for a trivial change to remove code that sets the 
property java.runtime.profile during initialization. This is a left-over 
experimental code from the jdk8/profiles forest that I should have 
removed before the changes were pushed to the build forest.

Thanks,
Alan.

diff --git a/src/share/classes/sun/misc/Version.java.template 
b/src/share/classes/sun/misc/Version.java.template
--- a/src/share/classes/sun/misc/Version.java.template
+++ b/src/share/classes/sun/misc/Version.java.template
@@ -52,8 +52,6 @@
          System.setProperty("java.version", java_version);
          System.setProperty("java.runtime.version", java_runtime_version);
          System.setProperty("java.runtime.name", java_runtime_name);
-        if (java_profile_name.length() > 0)
-            System.setProperty("java.runtime.profile", java_profile_name);
      }

      private static boolean versionsInitialized = false;



More information about the core-libs-dev mailing list