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

Project Coin: diamond and anonymous classes

    Details

    • Subcomponent:
    • Resolved In Build:
      b59
    • Verification:
      Verified

      Backports

        Description

        At some point, during JDK 7 development, the following changeset:

        http://hg.openjdk.java.net/jdk7/jdk7/langtools/rev/ca32f2986301

        Allowed diamond syntax to be used in conjunction with anonymous inner classes. That change has been backed out for scoping reasons. It is now time to re-enable it, as the analysis in JDK-8058519 shows that such a simple approach - together with the more powerful JDK 8 inference, could indeed be beneficial in the vast majority of cases.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sadayapalam Srikanth Adayapalam
                  Reporter:
                  mcimadamore Maurizio Cimadamore
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: