RFR: 8168010: Deprecate obsolete launcher -d32/-d64 options

Kumar Srinivasan kumar.x.srinivasan at oracle.com
Thu Oct 27 01:20:34 UTC 2016


Hello,

Please review enclosed fix for: 
https://bugs.openjdk.java.net/browse/JDK-8168010

Based on this discussion, 
http://mail.openjdk.java.net/pipermail/jdk9-dev/2016-September/004934.html
these options are slated for deprecation, only at the documentation level,
and will continue to operate with no perceivable behavior change, in JDK9.

Thanks
Kumar

diff --git 
a/src/java.base/share/classes/sun/launcher/resources/launcher.properties 
b/src/java.base/share/classes/sun/launcher/resources/launcher.properties
--- a/src/java.base/share/classes/sun/launcher/resources/launcher.properties
+++ b/src/java.base/share/classes/sun/launcher/resources/launcher.properties
@@ -1,5 +1,5 @@
  #
-# Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights 
reserved.
+# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights 
reserved.
  # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  #
  # This code is free software; you can redistribute it and/or modify it
@@ -31,7 +31,7 @@
  \           (to execute the main class in a module)\n\
  where options include:\n

-java.launcher.opt.datamodel  =\    -d{0}\t  use a {0}-bit data model if 
available\n
+java.launcher.opt.datamodel  =\    -d{0}\t  Deprecated, will be removed 
in a future release\n
  java.launcher.opt.vmselect   =\    {0}\t  to select the "{1}" VM\n
  java.launcher.opt.hotspot    =\    {0}\t  is a synonym for the "{1}" 
VM  [deprecated]\n



More information about the core-libs-dev mailing list