Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] NoSuchMethodError in org.eclipse.jdt

I sincerely thank you for your time.  This puts me on the right path.


On 7/23/09 7:17 PM, "Walter Harley" <eclipse@xxxxxxxxxxxxxx> wrote:

> > Correction. internal packages are not part of the JDT API.
> > They can be used but there is absolutely no garantee
>
> Right, please tell the people that are abusing your APIs, and
> counting on implementation details.  I'm merely an indirect user.

It seems you, on the consuming side, are in a better position to
discover and report a problem like this than the Eclipse developers are.
Presumably "the people that are abusing the APIs" would be Jetty, in
this case, based on the Maven dependency chart you showed.


> Can't you just tell me what version this method was removed in,
please?
> org.eclipse.jdt.internal.compiler.CompilationResult.getProblems()

This method exists in the latest version of JDT, and has been there for
last several versions.  I suspect it was added around version 3.2, when
APT was first implemented.  It perhaps did not exist in version 3.1,
which is four years old and seems to be what you are trying to run
against.

Eclipse CVS repositories are available at
http://dev.eclipse.org/viewcvs/index.cgi/ .  (I found that by Googling
"Eclipse cvs repository".)  Diving into there, I find
CompilationResult.java at
http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.jdt.core/compiler/o
rg/eclipse/jdt/internal/compiler/CompilationResult.java?view=log .
Broadly speaking, Eclipse releases happen in June of each year, so
inspecting the versions released around that timeframe gives a clue as
to what the state of the class was in a given release.  Eclipse 3.5 was
released this June; 3.4 in 2008; 3.3 in 2007; and so forth.

So if you wish to inspect further, that is a good place to look.

An appropriate forum for general discussion about JDT is the
eclipse.tools.jdt newsgroup.  As Olivier said, the mailing lists are
primarily used for announcements by Eclipse teams.

_______________________________________________
jdt-core-dev mailing list
jdt-core-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-core-dev



Back to the top