Menu

Legacy SVN Repository Commit Log


Commit Date  
[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
[r5195] by fro21888

Addresses bug item ID: 2965500 - Next/Prev Word Borken When Trailing Whitespace - John Cate 3-16-10

2010-03-16 17:29:52 Tree
[r5194] by mgricken

Addresses bug 2968873: Error while unit testing
java.lang.IllegalArgumentException: Name does not contain any parens:
BreakoutUsingThreads

and disables compile/junit/javadoc when those operations are used.

2010-03-11 20:47:04 Tree
[r5193] by mgricken

Brings up Interactions Auto-Import dialog for unknown name errors as well, e.g. 'Color.green' will try to import 'Color'.

2010-03-11 13:28:07 Tree
[r5192] by rcartwright

This revision includes a tiny change to javalanglevels in an attempt
to suppress an aborting NullPointerException that occurred compiling
an empty class on Chinese Windows machine. The revised source files
contain tiny formatting changes.

The following files were modified:

M lib/javalanglevels-base.jar
M src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
M src/edu/rice/cs/drjava/model/compiler/LanguageLevelStackTraceMapper.java

2010-03-10 16:40:59 Tree
[r5191] by rcartwright

This revision includes a patch to circumvent a NullPointerException
that is thrown at line 245 in Data.java in method setOuterData on Chinese
Windows machines.

The following file was modified:

M src/edu/rice/cs/javalanglevels/Data.java

2010-03-10 16:08:08 Tree
[r5190] by rcartwright

This revision fixes a bug in the readLLLineBlockHelper method in LanguageLevelStackTraceMapper. It also cleans up the variable naming and space formatting of the class text.

The following files were modified:

M src/edu/rice/cs/drjava/model/junit/DefaultJUnitModel.java
M src/edu/rice/cs/drjava/model/junit/JUnitTestManager.java
M src/edu/rice/cs/drjava/model/compiler/LanguageLevelStackTraceMapper.java

2010-03-09 03:12:22 Tree
[r5189] by mgricken

Requires compilation of .dj? files before Javadoc, Javadoc fails otherwise.

2010-03-09 01:40:37 Tree
Older >
MongoDB Logo MongoDB