Uploaded image for project: 'CCC Migration Project'
  1. CCC Migration Project
  2. CCC-8027063

SecurityManger.getClassContext returns a raw type

XMLWordPrintable

    • 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();

            darcy Joe Darcy
            darcy Joe Darcy
            Alan Bateman, Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: