Issue838244

classification
Title: Bug [761177] Problem comparing Java objects
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, otmarhumbel, pedronis, pjenvey, zyasoft
Priority: normal Keywords: patch

Created on 2003-11-07.23:53:41 by otmarhumbel, last changed 2009-05-31.21:54:16 by pjenvey.

Files
File name Uploaded Description Edit Remove
org-761177 otmarhumbel, 2003-11-07.23:53:41
bugtests-761177 otmarhumbel, 2003-11-07.23:54:47
Messages
msg2304 (view) Author: Oti Humbel (otmarhumbel) Date: 2003-11-07.23:53:41
Please find attached two patches, created with Eclipse:

org-761177:
  - created with root = jython/org
bugtests-761177:
  - created with root = bugtests
  - contains also .cvsignore (because of .project)

Best wishes,
Oti.
msg2305 (view) Author: Samuele Pedroni (pedronis) Date: 2005-01-09.19:49:25
Logged In: YES 
user_id=61408

if we go for this, we will need to advertize the backward
incompatible change.
msg3585 (view) Author: Jim Baker (zyasoft) Date: 2008-09-14.05:59:16
Java objects in Jython don't have natural-order comparisons using
Comparable#compareTo, if they support it.

So in comparing two java.lang.Integers, we are not comparing with
respect to their value.
msg4776 (view) Author: Philip Jenvey (pjenvey) Date: 2009-05-31.21:54:15
Charlie added Comparable hooks to PyJavaType which should fix this. This 
test now passes but it also seemed to pass for me on a pre-PyJavaType 
build. Anyway there's are other tests for this in 
test_java_integration.test_comparable_delegation
History
Date User Action Args
2009-05-31 21:54:16pjenveysetstatus: open -> closed
nosy: + pjenvey, cgroves
resolution: fixed
messages: + msg4776
2008-12-15 18:42:39fwierzbickisetcomponents: + Core, - None
2008-09-14 05:59:16zyasoftsetnosy: + zyasoft
messages: + msg3585
2003-11-07 23:53:41otmarhumbelcreate