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

Lambda Spec: Make varargs access checking a post-compatibility test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • specification
    • Verified

      A varargs method is applicable only if the element type is accessible at the call site. If the element type is an inference variable (alpha[]), inference is left to figure out which choice for alpha will be accessible. So, in order to support inference, the access check should happen after inference is done.

            dlsmith Dan Smith
            dlsmith Dan Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: