Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » EquinoxClassLoader Monkey Patching
EquinoxClassLoader Monkey Patching [message #1859431] Wed, 07 June 2023 13:10 Go to next message
Sylvain Mising name is currently offline Sylvain Mising nameFriend
Messages: 8
Registered: April 2010
Junior Member
Hi,

I would like to monkey patch from a different bundle but i can't figure out out.

I added the class into my project/bundle using the same package/name, i added the package to the list of exported package but it's not pick up by the class loader, i.e it still loaded the class from the "original" jar.

Is there a trick i'm not aware of to make it work with equinox/osgi framework ?

Thanks
Re: EquinoxClassLoader Monkey Patching [message #1859432 is a reply to message #1859431] Wed, 07 June 2023 13:52 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33145
Registered: July 2009
Senior Member
It's not entirely clear which class loader is not picking these things up. Is it in a bundle with package imports that isn't finding classes in your bundle's package? Are you trying to "override" classes from the other bundle? What exactly are you doing and why are you doing it? I.e., for what problem is this a solution?

Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Equinox User
Next Topic:Export for org.osgi.util.tracker missing on org.eclipse.osgi plugin in version 3.18.400
Goto Forum:
  


Current Time: Tue May 07 02:42:13 GMT 2024

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

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

Back to the top