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) {

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

              Created:
              Updated:
              Resolved: