Bugs item #971142, was opened at 2004-06-11 06:57
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=971142&group_id=44253
Category: Interactions
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: import statements go unchecked
Initial Comment:
drjava Intetractions Pane allows you to import
non-existing packages,like this:
**//this is OK in Interactions pane
import blah.blah.*;
**
Although importing specific classes is checked:
**//this throws an error(ClassNotFoundException)
import blah.blah.Blah;
**
(Provided ofcourse that blah.blah.Blah doesn't exist)
Also,using **Class.forName(String classname)**
throws a **ClassNotFoundException** even if the
cocerned library is added to both system and drjava
(Extra) Classpath.
The same line of code works from a source file
when run from drjava(the same class name,that is.)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=438935&aid=971142&group_id=44253
|