-
CSR
-
Resolution: Approved
-
P3
-
None
-
behavioral
-
low
-
There are still some projects that use these APIs, in particular GlassFish and WildFly, but they should be fairly easy to replace or remove, and the compiler warning will help give advance notice.
-
Java API
-
SE
Summary
Mark the deprecated java.security.acl APIs with forRemoval=true.
Problem
The APIs in java.security.acl were deprecated in JDK 9 but have had the following warning in the package description for a very long time:
"The classes and interfaces in this package have been superseded by classes in the java.security package. See that package and, for example, java.security.Permission for details."
Since there have been suitable replacements since JDK 1.2, there is no reason to retain this package and it should be removed in a future release.
Solution
Mark the deprecated java.security.acl APIs with forRemoval=true.
Specification
Make the following change to the java.security.{Acl, AclEntry, AclNotFoundException, Group, LastOwnerException, NotOwnerException, Owner, Permission} classes:
-@Deprecated(since="9")
+@Deprecated(since="9", forRemoval=true)
- csr of
-
JDK-8175094 Mark the deprecated java.security.acl APIs with forRemoval=true
-
- Resolved
-
- relates to
-
JDK-8177680 Umbrella: JDK 11 terminal deprecations
-
- Resolved
-