Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8027063

SecurityManger.getClassContext returns a raw type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      The method SecurityManger.getClassContext is declared to return a raw Class[] rather than Class<?>[] or some more specific types.

      Raw types should not be used for return types in core classes.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              darcy Joe Darcy
              Reporter:
              darcy Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: