Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Classloader pollution
Classloader pollution [message #101893] Thu, 22 November 2007 15:09 Go to next message
Aaron Digulla is currently offline Aaron DigullaFriend
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
I have a problem with osgi.parentClassLoader=boot. As I understand the
option, it should change the parent classloader of OSGi bundles to the
boot classloader, that is, with this option specified on the command line,
I can have JARs in the classpath and in OSGi bundles and they can't see
each other.

For some reason, this doesn't work any its driving me nuts. :-( Here is
how Eclipse runs the tests: C:\prg\jdk-1.5.0\bin\javaw.exe
-DrunLongTests=true -Dosgi.parentClassLoader=boot -classpath
...icu-3.4.5.jar...

In the plugin directory, I have com.ibm.icu_3.4.5.20061213.jar

The JARs are identical but the tests which use them must run in separate
classloaders. This works for the non-OSGi tests. My problem is that the
OSGi tests (which create a report with BIRT) mix both versions which leads
to very strange errors (in my case, the NumberFormatter is broken). How do
I prevent that?

Regards,

--
Aaron Digulla
Re: Classloader pollution [message #105806 is a reply to message #101893] Mon, 03 March 2008 10:29 Go to previous message
Aaron Digulla is currently offline Aaron DigullaFriend
Messages: 258
Registered: July 2009
Location: Switzerland
Senior Member
Anyone?
Previous Topic:Starting exernal Program to display pdf etc.
Next Topic:Rapdemo in Tomcat won't start
Goto Forum:
  


Current Time: Sun Oct 24 01:25:56 GMT 2021

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

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

Back to the top