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

BitSetShim: The type parameter T is hiding the type T warning

XMLWordPrintable

    • b13

      JDK-8304933 introduced two warnings:

      Description Resource Location
      The type parameter T is hiding the type T BitSetShim.java line 133
      The type parameter T is hiding the type T BitSetShim.java line 173

      The fix is to change the type in these two methods (as it is in Set.java):

      public <V> V[] toArray(V[] a) {

            angorya Andy Goryachev
            angorya Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: