Skip to main content



      Home
Home » Eclipse Projects » Equinox » EquinoxClassLoader Monkey Patching
EquinoxClassLoader Monkey Patching [message #1859431] Wed, 07 June 2023 09:10 Go to next message
Eclipse UserFriend
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 09:52 Go to previous message
Eclipse UserFriend
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?
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: Sun Apr 20 23:11:24 EDT 2025

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

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

Back to the top