-
CSR
-
Resolution: Approved
-
P4
-
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[]</code> rather than <code class="prettyprint" >Class<?>[]
, causing a lint warning in the core libraries.
Solution
Change the method to be declared to return a Class[].</p> <h2>Specification</h2> <pre class="prettyprint" ><code>- protected Class[] getClassContext(); + protected Class<?>[] getClassContext();
- csr for
-
JDK-8027063 SecurityManger.getClassContext returns a raw type
-
- Resolved
-