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

Fix timing of varargs access check, per JDK-8016205

    XMLWordPrintable

Details

    • b20
    • Verified

    Backports

      Description

        JLS 7 requires the access of a varargs parameter type to be checked during overload resolution, while JLS 8, per JDK-8016205, performs this check afterwards. javac should follow the specified behavior. (Legacy behavior should be preserved for -source levels before 8.)

        Attachments

          Issue Links

            Activity

              People

                vromero Vicente Arturo Romero Zaldivar
                dlsmith Dan Smith
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: