classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: java/1895: Libjava: Arrays.sort doesn't work]


From: Bryce McKinlay
Subject: Re: [Fwd: java/1895: Libjava: Arrays.sort doesn't work]
Date: Wed, 07 Feb 2001 18:38:13 +1300

Patrick LAM wrote:

> On Wed, 7 Feb 2001, Bryce McKinlay wrote:
>
> > Here's a bug report we received through the GCC bug tracking system.
> > It looks like the qsort implementation in java.util.Arrays is broken
> > for large arrays ;-(
> >
> > Does anyone know qsort well enough to take a look?
>
> I implemented a version of Arrays.sort once upon a time, when JDK1.2
> wasn't available for Linux yet.  Here it is.  It is under the LGPL.

Thanks, but the comparator-based varients of sort() are working fine, afaik.
It is the numerical qsort ones that seem to be buggy. The JDK docs specify
the modified qsort algorithm that is use here.

regards

  [ bryce ]





reply via email to

[Prev in Thread] Current Thread [Next in Thread]