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

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

              Created:
              Updated:
              Resolved: