Menu

#20 Anonymous Inner Classes

open
nobody
None
5
2009-08-27
2009-08-27
O.Luecking
No

Hello,

I have problems working with anonymous inner classes.
These classes are Ok in Eclipse itself and there are also Ok, if I create a product with Eclipse.

At least the pluginbuilder generates plugins without these classes.
If I convert an anonymous class to a named class, everything is Ok.

If you try to run the "successfully" generated application, you will get an ClassNotFound exception.

Probably it is a failure in copying anonymous inner classes to the correct directory.

Or it is a failure during build, based on missing libraries. In this case org.eclipse.jface.viewer and swt.
In this case the build should throw errors !?!

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.