Message9202
When using Java 8, the following code produces a NameError
import jarray
x=jarray.array([1,3,2], 'f')
from java.util import *
Arrays.sort(x)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Arrays' is not defined
If I do however an explicit import first (i. e. from java.util import Arrays)
things work. |
|
Date |
User |
Action |
Args |
2014-11-10 08:30:28 | berndk | set | recipients:
+ berndk |
2014-11-10 08:30:28 | berndk | set | messageid: <1415608228.45.0.939621423223.issue2229@psf.upfronthosting.co.za> |
2014-11-10 08:30:28 | berndk | link | issue2229 messages |
2014-11-10 08:30:27 | berndk | create | |
|