Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » finding classes (in eclipse) compiled into memory - which classloader?
finding classes (in eclipse) compiled into memory - which classloader? [message #538419] Mon, 07 June 2010 15:12
Ralf Buschermoehle is currently offline Ralf BuschermoehleFriend
Messages: 81
Registered: July 2009

I try to get m
working in two eclipse projects (one is a plugin, the other not).

Unfortunately it fails to get the class from the classloader

(see code line from the CompilingfromMemory.htm) Class.forName("HelloWorld")

I would like to know which classloader I should use (that is used in):
CompilationTask task = compiler.getTask(null, null, diagnostics, null,
null, compilationUnits);

It also fails when I try to set it since Eclipse uses different
classloaders to differentiate plugins/plugin versions e.g., like
Class.forName("HelloWorld", true,

So, basically it can be nailed down to the question. How can I find the
compiled class?

Any advice would be nice,

Previous Topic:flash builder plugin
Next Topic:Starting Equinox OSGI environment
Goto Forum:

Current Time: Tue May 22 10:26:16 GMT 2018

Powered by FUDForum. Page generated in 0.02211 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top