Menu

#908 Javadoc does not find junit in drjava.exe

4: Serious
open
nobody
5
2011-03-08
2011-03-08
No

I’m using the latest development release, drjava-20110205-r5425, and if I make a JUnit test class, just the bare one made by “New JUnit Test Case…”, compile it and then try to make Javadocs of it, I get the following error, in either full or functional language level:

(This is the error from Full Java – the functional level is the same but with different line numbers due to the auto-generated code)

2 errors found:

File: C:\Users\swong\Desktop\Comp211\Lab07\Test_Class.java [line: 1]

Error: package junit.framework does not exist

File: C:\Users\swong\Desktop\Comp211\Lab07\Test_Class.java [line: 8]

Error: cannot find symbol

(Line 8 is the class declaration, probably because it can’t find the TestCase class)

I’ve verified this on two Windows machines.

Can someone else verify or refute this for me?

Could this be related to the broken unit testing in the stable release version?

Thanks

-- SW

Reply

Reply to all

Forward

Reply
|
Mathias Ricken ✆
to JAVAPLT, Stephen, bcc: me

show details 8:29 AM (1 hour ago)

Hi Stephen,

Interesting, it's broken for the exe file, but not for the jar. I
wonder if Javadoc is now having the same issues that javac started
having, namely that it cannot look into exe files.

--Mathias

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.