Issue583832

classification
Title: Problem with Custom Class Loader
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: remind
Dependencies: Superseder:
Assigned To: Nosy List: bckfnn
Priority: normal Keywords:

Created on 2002-07-19.14:02:10 by anonymous, last changed 2002-09-18.14:12:38 by bckfnn.

Files
File name Uploaded Description Edit Remove
bug.jar nobody, 2002-07-19.14:02:10
Messages
msg694 (view) Author: Nobody/Anonymous (nobody) Date: 2002-07-19.14:02:10
(This is the same bug as #583825, which was not
submitted
completely)

Jython 2.1 and 2.0 cannot load a java class using a
custom
class loader if the class is qualified by a package.

See the README file in the attached jar file for
complete
information.  The jar also contains a test example.

Rob Bjornson
bjornson@turbogenomics.com

msg695 (view) Author: Finn Bock (bckfnn) Date: 2002-09-18.14:12:38
Logged In: YES 
user_id=4201

The problem here is that java package discovery isn't
automatic for foreign classloaders and it might never be.
The workaround is to manually add information about java
packages like this:

import sys
sys.add_package("foo")

when "from foo import Qual" works.

We are well aware about this limitation, so I will close
this bug report; there are plenty of information in the
mailling lists and in feature requests about this and we
will not forget about it.
History
Date User Action Args
2002-07-19 14:02:10anonymouscreate