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

Rearrange private MethodType constructors

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: core-libs
    • Labels:
      None

      Description

      The private constructors for MethodType can be collapsed into one trusted constructor. The factory method MethodType.makeImpl is the single point of entry that is responsible for copying/validating arguments and is the only method that can invoke the constructor.

        Attachments

          Activity

            People

            Assignee:
            psandoz Paul Sandoz
            Reporter:
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: