I have a jython package name starting with the same package as my
java package. e.g.,
foo/bar/test.py in Jython
foo/jython/rocks/RockTheWorld.class in Java
Let's say I want to use RockTheWorld which is a Java class.
Normally, we use
from foo.jython.rocks import *
However, since the jython package has precendence over the Java
classpath, Jython says it couldn't find "jython" package. The
reason is because both package path starts with foo.
Here is my question: Why didn't Jython backtrack to try the rest
of the path to find foo.jython.rocks package? Is this a bug?
Thanks for any help.