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

Clarify constraints on lambda proxy objects

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: specification
    • Labels:
      None

      Description

      In 15.27.4, we suggest that lambda proxies may implement other methods of Object. However, the spec is silent on whether it may implement interfaces other than the ones in the target type, or whether it may implement methods not declared in either the target type interfaces or Object. We should clarify that this flexibility also exists.

        Attachments

          Activity

            People

            Assignee:
            dlsmith Dan Smith
            Reporter:
            briangoetz Brian Goetz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: