I’m working on integrating the Eclipse Java Compiler into DrJava (see feature request), but error reporting doesn’t work correctly yet.
After some confusion during debugging, I found out that this is because of an Eclipse bug (Eclipse bug report 290470):
In revision 1.45 of DefaultProblemFactory.java, the createProblem
method was overloaded to include an elaborationId
. But until revision 1.11 of EclipseCompilerImpl.java, the new method wasn’t overridden.
The bugfix isn’t in the in the 3.5.2 release yet, but it is in the 3.6M6 milestone. I guess I will use that for now and then update to release 3.6 when it’s available.
Pingback: A Concurrent Affair » Blog Archive » Another Eclipse Compiler Bug