Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7115044 Umbrella: Add support for lambda expressions
  3. JDK-8004101

Add checks for method reference well-formedness

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • tools
    • None
    • b68
    • Verified

      There are two cases of method references that need to be rejected by the compiler:

      *) static bound method references (i.e. new Foo()::staticMethod)
      *) static method ref with parameterized qualifier (i.e. Foo<String>::staticMethod)

            mcimadamore Maurizio Cimadamore
            mcimadamore Maurizio Cimadamore
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: