|
From: Peter C. <cen...@ri...> - 2002-04-14 22:30:09
|
Executive Summary: The current cvs build of DrJava is definitely not release-quality, particularly on OS X. Full Narative: First of all, ant test seems to hang while running GlobalModelOtherTest. I've tried this several times, with full updates of util and the main packages between attempts. The first attempt showed no progress after 3.5 hours. The second and third took half an hour and an hour respectively, with similar lack of results. When I opened GlobalModelOtherTest.java in DrJava to try out the new Test button, I got no love. First, JSR14 compilation failed with an IllegalAccessError. This occurs for several different files I have attempted to compile. GJ and the standard javac work fine. Next, I switched to the standard javac and clicked Test again. Now I get a NoClassDefFoundError for GlobalModelTestCase and DrJava is completely locked up with a busy cursor. No click events seem to be registering, although the menus still respond. I think this error was caused by a dependency in the test case in this specific class, but it should certainly be handled more gracefully. Running the tests through junitgui reveals that the jsr14 error is what's causing the ant test hang. For some reason the problem is not getting reported back to ant. Maybe this is because an Error is generated, not an Exception. The Error actually happens quite quickly. Here's an exception trace, to help in fixing this: java.lang.IllegalAccessError: try to access field com.sun.tools.javac.v8.JavaCompiler.syms from class edu.rice.cs.drjava.model.compiler.JSR14Compiler at edu.rice.cs.drjava.model.compiler.JSR14Compiler.initCompiler (JSR14Compiler.java:88) at edu.rice.cs.drjava.model.compiler.JavacGJCompiler.compile (JavacGJCompiler.java:139) at edu.rice.cs.drjava.model.compiler.CompilerProxy.compile(CompilerProxy.java: 120) at edu.rice.cs.drjava.model.DefaultGlobalModel$DefinitionsDocumentHandler.startCompile( DefaultGlobalModel.java:935) at edu.rice.cs.drjava.model.GlobalModelOtherTest._doCompile (GlobalModelOtherTest.java:261) at edu.rice.cs.drjava.model.GlobalModelOtherTest.testInteractionsCanSeeChangedClass( GlobalModelOtherTest.java:301) -- Peter |