Message10242
Inserting this in the line 292 of PyJavaType.java solves it:
// === START PATCH FOR BUG 2391 ===
Comparator<Method> methodComparator = new Comparator<Method>() {
@Override public int compare(Method m1, Method m2) {
Class<?> c1 = m1.getClass();
Class<?> c2 = m2.getClass();
return c1.isAssignableFrom(c2)? -1 : c2.isAssignableFrom(c1)? 1 : 0;
}
};
Arrays.sort(methods, methodComparator);
// ==== END PATCH FOR BUG 2391 ==== |
|
Date |
User |
Action |
Args |
2015-09-10 08:27:02 | jsaiz | set | messageid: <1441873622.05.0.418503027142.issue2391@psf.upfronthosting.co.za> |
2015-09-10 08:27:02 | jsaiz | set | recipients:
+ jsaiz, zyasoft |
2015-09-10 08:27:02 | jsaiz | link | issue2391 messages |
2015-09-10 08:27:01 | jsaiz | create | |
|