Bug 52758 - Jasper illegally implements org.eclipse.jdt.internal.compiler.env.ICompilationUnit from Eclipse
Summary: Jasper illegally implements org.eclipse.jdt.internal.compiler.env.ICompilatio...
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Jasper (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-24 04:21 UTC by Michael Rennie
Modified: 2014-02-17 13:48 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie 2012-02-24 04:21:56 UTC
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.
Comment 1 Mark Thomas 2012-02-24 10:10:51 UTC
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.
Comment 2 Michael Rennie 2012-02-24 16:20:31 UTC
(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?