Message5815
Fixed by r7066.
tomw2 should adopt a similar solution to what was done with PyComplex#__tojava__ - there doesn't seem to be a reasonable way to indicate a preference without a rewrite of our reflection support. Therefore, modifying or adding __tojava__ seems like the better solution:
// Special case __tojava__ for bug 1605, since we broke it with our support for faux floats.
@Override
public Object __tojava__(Class<?> c) {
if (c.isInstance(this)) {
return this;
}
return Py.NoConversion;
} |
|
Date |
User |
Action |
Args |
2010-06-16 14:50:46 | zyasoft | set | messageid: <1276699846.28.0.857402984358.issue1605@psf.upfronthosting.co.za> |
2010-06-16 14:50:46 | zyasoft | set | recipients:
+ zyasoft, pjenvey, babelmania, tomw2 |
2010-06-16 14:50:46 | zyasoft | link | issue1605 messages |
2010-06-16 14:50:45 | zyasoft | create | |
|