-
Type:
CSR
-
Resolution: Approved
-
Priority:
P4
-
Component/s: core-libs
-
source
-
minimal
-
Java API
-
SE
Summary
Change SecurityManager.getClassContext to accept an array of Class<?> rather than a raw array of Class.
Problem
A method in SecurityManger has a return type of Class[] rather than Class<?>[], causing a lint warning in the core libraries.
Solution
Change the method to be declared to return a Class<?>[].
Specification
- protected Class[] getClassContext();
+ protected Class<?>[] getClassContext();
- csr for
-
JDK-8027063 SecurityManger.getClassContext returns a raw type
-
- Resolved
-