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

javac allows illegal receiver parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8u20
    • tools
    • b19
    • Verified

        javac should not allow 'final' as a modifier of a receiver parameter.
        javac should allow only 'this' or 'Foo.this' as the name of a receiver parameter.

        See the mails:
        - http://mail.openjdk.java.net/pipermail/type-annotations-dev/2013-October/001386.html
        - http://mail.openjdk.java.net/pipermail/type-annotations-dev/2013-October/001387.html

              pgovereau Paul Govereau (Inactive)
              abuckley Alex Buckley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: