bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/30355] New: java.util.Arrays.binarySearch methods throw a


From: cam-gcc-bugzilla at aka dot mcc dot id dot au
Subject: [Bug classpath/30355] New: java.util.Arrays.binarySearch methods throw an exception with zero length arrays
Date: 2 Jan 2007 22:22:05 -0000

All of the java.util.Arrays.binarySearch methods that don't take the low/hi
indexes don't seem to check for zero length arrays, so a call like
Arrays.binarySearch(new int[0], 0) will throw an exception that it shouldn't.


-- 
           Summary: java.util.Arrays.binarySearch methods throw an exception
                    with zero length arrays
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: cam-gcc-bugzilla at aka dot mcc dot id dot au


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30355





reply via email to

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