Message10448

Author rhpatrick
Recipients rhpatrick
Date 2015-11-10.15:16:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447168582.07.0.875296394624.issue2423@psf.upfronthosting.co.za>
In-reply-to
Content
The behavior of jarray.array() has changed between Jython 2.2.x and 2.7 and is breaking existing scripts.  I am attaching a simple reproducer that runs perfecting in Jython 2.2.x but fails in 2.7 with the following error:

TypeError: getDeclaredMethod(): 2nd arg can't be coerced to java.lang.Class[]

One thing I noted was that type() returns different results on the return value of jarray.array().  In Jython 2.2.x, it returns "<type 'array'>" while in 2.7 it returns "<type 'array.array'>".
History
Date User Action Args
2015-11-10 15:16:22rhpatricksetrecipients: + rhpatrick
2015-11-10 15:16:22rhpatricksetmessageid: <1447168582.07.0.875296394624.issue2423@psf.upfronthosting.co.za>
2015-11-10 15:16:21rhpatricklinkissue2423 messages
2015-11-10 15:16:21rhpatrickcreate