Simon Kitching wrote:
  public char[] toCharArray()
  {
    // XXX ORP 1.0.9 crashes on (char[]) clone() during bootstrap, so we
    // omit this optimization for now.
    // if (count == value.length)
    //   return (char[]) value.clone();
    char[] copy = new char[count];
    VMSystem.arraycopy(value, offset, copy, 0, count);
    return copy;
  }

I just wondered if it was time to remove this hack...

Sounds good to me... and in any case, ORP should be doing it's
own disoptimization for VM-specific issues like this rather than
forcing it on all Classpath users.

-Archie

__________________________________________________________________________
Archie Cobbs      *        CTO, Awarix        *      http://www.awarix.com


_______________________________________________
Classpath mailing list
Classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath

Reply via email to