[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/30061] Comparator interface arguments get reversed
From: |
csm at gnu dot org |
Subject: |
[Bug classpath/30061] Comparator interface arguments get reversed |
Date: |
6 Dec 2006 21:23:13 -0000 |
------- Comment #6 from csm at gnu dot org 2006-12-06 21:23 -------
Your comparator in that last test is still wrong. compare("s", null) ==
compare(null, "s") == 1. This breaks the contract for Comparator.compare.
Please re-read the javadocs for java.util.Comparator.
--
csm at gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30061
- [Bug classpath/30061] New: Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/04
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/04
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/05
- [Bug classpath/30061] Comparator interface arguments get reversed, csm at gnu dot org, 2006/12/05
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/06
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/06
- [Bug classpath/30061] Comparator interface arguments get reversed,
csm at gnu dot org <=
- [Bug classpath/30061] Comparator interface arguments get reversed, csm at gnu dot org, 2006/12/06
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/07
- [Bug classpath/30061] Comparator interface arguments get reversed, csm at gnu dot org, 2006/12/07
- [Bug classpath/30061] Comparator interface arguments get reversed, dwhire at yahoo dot com, 2006/12/07