• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jeode and Jbed ClassLoader differences?  RSS feed

 
rangam
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Has anyone experienced class loading differences between Jeode and JBed
CDC?
This reason I'm asking is because we've used Jeode for 2 years now and
it works fine. Now we're trying to convert to Jbed CDC, but we're
having some problems.

The following (pseudo) code works on Jeode but not on Jbed:

...
test = true;
if (test) {
new ClassSupportedByCDC();
}
else {
new ClassNOTSupportedByCDC();
}

The class ClassNOTSupportedByCDC is never instantiated (test is always
true) but Jbed gives a:
java.lang. NoClassDefFoundError:ClassNOTSupportedBy
CDC

as soon as one enter the method with the code metioned (it doesn't
execute a single line).
Does the runtime for Jbed preload all classes? Is this some kind of
optimization? Is there any way around this?
As I said before, it works great with Jeode.

By the way, anyone know if there are any forums available to discuss
about Jbed/Jeode and java related issues?

Thanks.
Arun
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!