Skip to content

Commit b125d4a

Browse files
author
dlsmith
committed
DrJava: Incorporated bug fix in plt.jar; fixed auto-import dialog
git-svn-id: file:///tmp/test-svn/trunk@4282 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent 555c3f9 commit b125d4a

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

drjava/lib/plt.jar

34 Bytes
Binary file not shown.

drjava/lib/readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ VERSIONS:
88
asm-3.1.jar: ASM 3.1 (http://asm.objectweb.org)
99
bcel-5.1-pruned.jar: BCEL 5.1; unneeded class files removed (see javalanglevels)
1010
docs.jar: docs-20060901-2010
11-
dynamicjava-base-15.jar: dynamicjava-20071204-2144
11+
dynamicjava-base-15.jar: dynamicjava-20071212-1808
1212
javalanglevels.jar: javalanglevels-20070213-2052
1313
junit.jar: JUnit 3.8.1
1414
platform.jar: platform-20070213-2003
15-
plt.jar: plt-20071203-2149
15+
plt.jar: plt-20071212-2207
1616
retroweaver-rt-1.2.3.jar: Retroweaver 1.2.3
1717
winlaf-0.5.1.jar: WinLAF 0.5.1
1818

drjava/src/edu/rice/cs/drjava/model/DefaultGlobalModel.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@
104104

105105
import java.io.*;
106106

107+
import static edu.rice.cs.plt.debug.DebugUtil.debug;
108+
107109
/** Handles the bulk of DrJava's program logic. The UI components interface with the GlobalModel through its public
108110
* methods, and the GlobalModel responds via the GlobalModelListener interface. This removes the dependency on the
109111
* UI for the logical flow of the program's features. With the current implementation, we can finally test the compile

drjava/src/edu/rice/cs/drjava/ui/MainFrame.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7429,7 +7429,7 @@ public void interactionEnded() {
74297429
// check that this error is different than the last one (second to last may be null):
74307430
if (!lastError.equals(im.getSecondToLastError())) {
74317431
// this aborts the auto-importing if the same class comes up twice in a row
7432-
if (lastError.startsWith("Undefined class '") && lastError.endsWith("'")) {
7432+
if (lastError.startsWith("Static Error: Undefined class '") && lastError.endsWith("'")) {
74337433
// it was an "undefined class" exception
74347434
// show auto-import dialog
74357435
String undefinedClassName = lastError.substring(lastError.indexOf('\'')+1,

drjava/src/edu/rice/cs/util/PreventExitSecurityManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public class PreventExitSecurityManager extends SecurityManager {
6969
* @param parent SecurityManager to delegate permission to. This may be null, signifying to allow all.
7070
*/
7171
private PreventExitSecurityManager(final SecurityManager parent) { _parent = parent;
72-
edu.rice.cs.util.Log log = new edu.rice.cs.util.Log("secman.txt",true);
72+
edu.rice.cs.util.Log log = new edu.rice.cs.util.Log("secman.txt",false);
7373
log.log("Creating new PreventExitSecurityManager");
7474
}
7575

0 commit comments

Comments
 (0)