JDK-8187282 : Remove policytool
  • Type: CSR
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 10
  • Submitted: 2017-09-06
  • Updated: 2017-09-13
  • Resolved: 2017-09-11
Related Reports
CSR :  
Sub Tasks
JDK-8220542 :  
Description
Summary
-------

Remove policytool.

Problem
-------

Policytool is an old tool with a clunky legacy UI and is not widely used. It was already deprecated in JDK 9 with forRemoval = true. 

Solution
--------

Remove the jdk.policytool module, which contains policytool.

Remove related man pages and tooldoc.

Specification
-------------

There are no specification changes.


Comments
Moving to approved.
11-09-2017

The original RN was confusing and did not make it clear that the tool will be removed in a future release. So I changed the wording a few days ago and I hope is clearer now.
08-09-2017

[~alanb] The release note for JDK 9 at [JDK-8173016](https://bugs.openjdk.java.net/browse/JDK-8173016) already has "It will be removed in a future release". Is this what you want?
08-09-2017

The jdk.policytool module is indeed deprecated-for-removal but it doesn't export an API and so it's unlikely that anyone has been compiled against it to see the warning. That said, the tool is documented in the JDK 9 release notes as deprecated and we might want to update that release note to make it clearer that it will be going away.
06-09-2017