Message10448
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'>". |
|
Date |
User |
Action |
Args |
2015-11-10 15:16:22 | rhpatrick | set | recipients:
+ rhpatrick |
2015-11-10 15:16:22 | rhpatrick | set | messageid: <1447168582.07.0.875296394624.issue2423@psf.upfronthosting.co.za> |
2015-11-10 15:16:21 | rhpatrick | link | issue2423 messages |
2015-11-10 15:16:21 | rhpatrick | create | |
|