Make typesafe versions of System.arraycopy

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs
    • generic
    • solaris_8

      Please make typesafe versions of System.arraycopy. One way to do
      this would be to add the following overloadings:

      static <T> void arraycopy(T[] chicken, T[] egg);
      static void arraycopy(int[] src, int[] dest);
      static void arraycopy(float[] src, float[] dest);
      etc.

      We should also consider adding corresponding methods to java.util.Arrays.

      ###@###.### 2003-06-23

            Assignee:
            Martin Buchholz
            Reporter:
            Neal Gafter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: