Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Weps Thomas (Wps) <thomas.weps@si...> - 2003-07-02 15:28:02
i get some problems with using the .class-operator with jython. it do not
work neither in the shell nor in a java-method called from the interpreter.
here are some examples:
using .class in the interpreter
Traceback (innermost last):
File "<console>", line 1, in ?
AttributeError: instance attr: class
using .class in a static method of a JavaClass like this
Class clazz = Class.forName(Command.class.getPackage().getName() + "." +
and calling that method from the interpreter like this
will lead to a java.lang.NullPointerException.
did i forgot something, did i something wrong, is it expected behaviour or
is it a bug? hope you can help me...