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

Parts of the JDK erroneously rely on generic array initializers with diamond

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P2
    • Resolution: Fixed
    • 8
    • 8
    • infrastructure
    • None
    • b01
    • generic
    • generic
    • Not verified

    Backports

      Description

        Recent warning fixes introduced generic array initializers with diamond (e.g., Foo<Bar>[] fooArr = new Foo<>[2];). This compiles due to a bug in the compiler and will not compile once the bug is fixed.

        Attachments

          Issue Links

            Activity

              People

                duke J. Duke (Inactive)
                duke J. Duke (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: