JDK-8180947 : Remove the launchers data model flags -d32/-d64
  • Type: CSR
  • Component: tools
  • Sub-Component: launcher
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 10
  • Submitted: 2017-05-24
  • Updated: 2017-09-25
  • Resolved: 2017-05-25
Related Reports
CSR :  
Description
Summary
-------

The java launchers data model selection options namely (-d32, -d64, -J-d32 and -J-d64) are
obsolete and were deprecated previously, these options are now removed. To prevent the
launcher from failing, users must remove usages of these options when invoking the
java launcher or a tool such as javac, javah etc.

Problem
-------

The launcher supports an obsolete functionality since JDK 8 when the dual support
for Solaris was removed.


Solution
--------
These options are removed since it needlessly complicates the logic for an obsolete
functionality.

Specification
-------------
With the options removed, the java launcher will pass all unrecognized options to the 
VM, causing it to fail, with an appropriate message. This is the normal behavior for all 
unrecognized options.



Comments
Making some edits, this only has a behavioral compatibility not binary, I'm increasing the expected import to "low" from "minimal" since the deprecation in 9 doesn't come with a warning IIRC. I agree with Alan that this change merits a release note. Moving to approved.
25-05-2017

Clarification note: The actual implementation was removed with JDK-8169646, but a ccc was not filed, for that. This CSR covers retroactively the removal of the implementation and removal of the specification in the launcher's help.
25-05-2017

Very much, opened a sub-task for RN.
24-05-2017

I assume this will have a release note too.
24-05-2017