Message179
The statement
from com.foo.bar import *
(where com.foo.bar is a Java package) works only if the package is stored in a
jar file. If the package is in a directory you must explicitly import each
symbol, e.g.
from com.foo.bar import Baz
This caused me a lot of confusion, so if this is the way it is intended to work
the documention should make it clear.
Note that from the standpoint of someone writing test scripts for Java code it
would be highly desireable for import * to work properly.
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:44 | admin | link | issue222864 messages |
2008-02-20 17:16:44 | admin | create | |
|