Author zyasoft
Recipients jeff.allen, zyasoft
Date 2015-09-22.17:40:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Java 8 added a sort method to java.util.List (, which takes one arg. Meanwhile JavaProxyList defines list_sort, which takes the standard Python args for sorting a list.

I'm surprised that our version does not override. Perhaps related to

Easy to reproduce on Jython running on Java 8:

$ dist/bin/jython
Jython 2.7.1 (default:7ebdc6c80d55+, Sep 21 2015, 18:28:51)
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.8.0_45
Type "help", "copyright", "credits" or "license" for more information.
>>> from java.util import ArrayList
>>> x = ArrayList([1, 0])
>>> x.sort()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: sort(): expected 1 args; got 0
Date User Action Args
2015-09-22 17:40:54zyasoftsetmessageid: <>
2015-09-22 17:40:54zyasoftsetrecipients: + zyasoft, jeff.allen
2015-09-22 17:40:54zyasoftlinkissue2399 messages
2015-09-22 17:40:53zyasoftcreate