Issue1783465

classification
Title: from java.util import *
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: cgroves, klaussteininger
Priority: normal Keywords:

Created on 2007-08-28.15:12:49 by klaussteininger, last changed 2007-09-20.00:56:10 by cgroves.

Messages
msg1876 (view) Author: KlausSt (klaussteininger) Date: 2007-08-28.15:12:49
troubles using wildcard * importing java apis with jython2.2:

expressions like:
  from java.util import *
don't work resulting in a NameError

whereas imports like
  from java.util import HashSet
do work
msg1877 (view) Author: Charlie Groves (cgroves) Date: 2007-09-20.00:56:10
For * imports to work, Jython needs to scan your jars.  Have you disabled it with the python.cachedir.skip system property, or is it having trouble writing to the cache directory?  Try running jython with -vvv to see what it's doing with the cache.
History
Date User Action Args
2007-08-28 15:12:49klaussteiningercreate