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

David Holmes david.holmes at oracle.com
Wed Apr 3 12:27:35 UTC 2013


Looks good.

David

On 3/04/2013 9:14 PM, Alan Bateman wrote:
>
> 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