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

Details

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

    Description

      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)

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: