JDK-8161338 : (jdeprscan) remove JEP 293 non-conforming -cp option
  • Type: Sub-task
  • Component: tools
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2016-07-14
  • Updated: 2017-05-17
  • Resolved: 2016-10-05
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
9 b140Fixed
The exact form of JEP 293 is unclear at this point, but there are a few things that probably need to be changed with jdeprscan's options.

1) Remove -cp as a short synonym for --class-path. It's incompatible with the single-minus short options and double-minus long options.

2) Add a short option for --class-path, maybe. Not sure what this could be; possibly -C?

3) For options that take arguments, allow an = to separate the argument from the option as well as whitespace.

4) Update usage message, help message, and manual page accordingly.
For now, simply remove -cp. Maybe add another short option later, and add support for = later (that's covered by JDK-8165888).