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

Use Executable.getSharedParameterTypes() instead of Executable.getParameterTypes() in trusted code

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 19
    • None
    • core-libs
    • None

    Description

      Executable.getParameterTypes() creates a copy of underlying array which is redundant in trusted code when we are sure the action is read-only.

      Attachments

        Issue Links

          Activity

            People

              stsypanov Sergey Tsypanov
              stsypanov Sergey Tsypanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: