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

SecurityManger.getClassContext returns a raw type

    XMLWordPrintable

    Details

    • Subcomponent:
    • Compatibility Kind:
      source
    • Compatibility Risk:
      minimal
    • Interface Kind:
      Java API
    • Scope:
      SE

      Description

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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: