The illegal implementation described in the Eclipse bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=372351) is causing severe problems for the Eclipse SDK which uses Jasper for our help system. The interface in question is org.eclipse.jdt.internal.compiler.env.ICompilationUnit which resides in an internal package and should not be implemented by clients. The ideal resolution to this problem would be for Jasper to discontinue implementing it, but we would also be fine with Jasper just updating their code to resolve the compilation problems.
Jasper implements that interface (and a bunch of others) in order to efficiently integrate with the JDT complier. Suggestions for alternative approaches welcome. Patches would be even better. A new interface would have allowed for a cleaner solution but since this isn't intended to be a public API I can understand the preference for just adding the method. Fixed in trunk and 7.0.x and will be included in 7.0.27 onwards.
(In reply to comment #1) > Jasper implements that interface (and a bunch of others) in order to > efficiently integrate with the JDT complier. Suggestions for alternative > approaches welcome. Patches would be even better. > Where would I find the code that integrates with the JDT compiler?
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java?view=annotate
(In reply to comment #3) > http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/jasper/compiler/JDTCompiler.java?view=annotate Thanks Mark.