#175 Junit Class Loader Behavior

open
nobody
None
5
2003-08-28
2003-08-28
Lance McCollum
No

This statement, when run with the JunitPlugin returns
null:

String path = Class.forName("com.kraftmaid.database.
Database").getResource("Database.class")

In real life, the correct URL comes back. When the
statement is executed by the Junit plugin for KawaPro5.0,
the correct URL is returned. Is this a problem with how
Jedit/JunitPlugin handles class loading???? Is there a get
around?

Using:

Jedit 4.1 final (standard download - no changes)

JunitPlugin 0.0.2 (standard download - no changes)

jdk1.3.1

jre 1.3.1

email:

lancem@kraftmaid.com

Discussion

  • Aaron Gage
    Aaron Gage
    2004-03-09

    Logged In: YES
    user_id=990155

    Have u set JUnitPlugin classpath?