Menu

Legacy SVN Repository Commit Log


Commit Date  
[r5205] by mgricken

Working on hooking up the Eclipse compiler. Errors not yet reported properly.

2010-04-05 23:59:15 Tree
[r5204] by mgricken

Forgot to also commit compiled classes for EclipseCompiler.

2010-04-05 21:38:23 Tree
[r5203] by mgricken

Added beginnings of Eclipse compiler support.

2010-04-05 19:56:36 Tree
[r5202] by mgricken

Implements feature 2978259: Save Copy of Documents

2010-03-29 04:00:48 Tree
[r5201] by mgricken

Fixes bug 2976836: getPackage()

2010-03-26 19:51:23 Tree
[r5200] by mgricken

Bugfix for 2976836: Class.getPackage() generates NullPointerException

2010-03-26 14:43:20 Tree
[r5199] by mgricken

Adds code to hide/ignore exceptions caused by the Swing bug that
throws an ArrayIndexOutOfBoundsException at
sun.font.FontDesignMetrics.charsWidth(FontDesignMetrics.java:492) in
Sun JVMs older than 6.0_18.

This is the most common bug report, and there is nothing we can do
about it. It also doesn't seem like it destabilizes DrJava. It
therefore makes sense to not display the error window.

The exception is only ignored if
(1) the current JVM is a Sun JVM
(2) the current JVM is older than 6.0_18
(3) the exception is an ArrayIndexOutOfBoundsException
(4) the exception's stack trace begins with

at sun.font.FontDesignMetrics.charsWidth(FontDesignMetrics.java:492)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:381)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:302)
at javax.swing.text.Utilities.getTabbedTextOffset(Utilities.java:286)
at javax.swing.text.PlainView.viewToModel(PlainView.java:403)
at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(BasicTextUI.java:1540)
at javax.swing.plaf.basic.BasicTextUI.viewToModel(BasicTextUI.java:1089)

(5) the exception's stack trace ends with

at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

https://sourceforge.net/tracker/?func=detail&atid=438935&aid=2831821&group_id=44253

2010-03-23 19:04:20 Tree
[r5198] by mgricken

Bugfix for 2674112: Error loading class in Interpreter
Now prints out the error:
Static Error: Class '$1' cannot access its superinterface 'UnaryFun'. Make sure 'UnaryFun' is a public interface.

I think this is as good as it can get since we can't load classes that aren't accessible as per 5.4.4.

Note: I put JavaInterpreterTest back, but there are two test cases
that fail, so I commented them out. The bug
2974931: Boolean Short-Circuiting Doesn't Work needs to be addressed.

2010-03-23 00:47:23 Tree
[r5197] by rcartwright

This revision includes a new javalanglevels-base.jar and cosmetic changes to JUnitPanel.java.

The following files were modified:

M lib/javalanglevels-base.jar
M lib/dynamicjava-base.jar
M src/edu/rice/cs/drjava/ui/JUnitPanel.java

2010-03-17 04:27:28 Tree
[r5196] by rcartwright

This revision contains two "brute-force" fixes of LL bugs. First,
nested anonymous classes generated an internal error that caused the
LL conversion process to blow up. This revision replaced the internal
error with a convention syntax error stating that LLs does not support
nested anonymous classes.

In the process, I decided to eliminate duplicate error messages which forced
a number of small changes in unit tests.

A test consisting of 25 classes in individual files with random names
(Filexx.dj1) generated a null pointer exception in
ExpressionTypeChecker. This revision explictly checks for this null
value and generates a convention error message if it happens. After
this change, it appeared that a misplaced ' (or `) mark preceding an
import declaration might have caused the blowup. The compiler flagged
this error as the only error. Why? I need to rerun some tests. When
I eliminated this syntax error, the challenge program compiled without
any problems (but I did not try removing all class files).

The folowing files were modified:

M src/edu/rice/cs/javalanglevels/TypeChecker.java
M src/edu/rice/cs/javalanglevels/Data.java
M src/edu/rice/cs/javalanglevels/BodyBodyAdvancedVisitor.java
M src/edu/rice/cs/javalanglevels/BodyTypeChecker.java
M src/edu/rice/cs/javalanglevels/TryCatchBodyTypeChecker.java
M src/edu/rice/cs/javalanglevels/IntermediateVisitor.java
M src/edu/rice/cs/javalanglevels/ClassBodyTypeChecker.java
M src/edu/rice/cs/javalanglevels/ExpressionTypeChecker.java
M src/edu/rice/cs/javalanglevels/BodyBodyIntermediateVisitor.java
M src/edu/rice/cs/javalanglevels/LanguageLevelVisitor.java
M src/edu/rice/cs/javalanglevels/Pair.java

2010-03-16 23:04:12 Tree
Older >
MongoDB Logo MongoDB