Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Bundle lib uses getSystemResource
Bundle lib uses getSystemResource [message #1843592] Tue, 10 August 2021 07:03 Go to next message
Josselin Kerdraon is currently offline Josselin KerdraonFriend
Messages: 1
Registered: August 2021
Junior Member
Hello, my rcp bundle depends on a non-plugin library that uses java.lang.ClassLoader.getSystemResource() to load its internal resources, but, due to bundle classpath overriding the other configurations, I guess, the method returns null. I added the lib in build path and in runtime classpath. What did I miss ? I use jdk-11 and eclipse 4
Re: Bundle lib uses getSystemResource [message #1843675 is a reply to message #1843592] Fri, 13 August 2021 11:48 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 238
Registered: April 2012
Senior Member
See stackoverflow: https://stackoverflow.com/questions/32902504/classloader-getsystemresource-does-not-work-in-osgi-bundle

Bottom line is that getSystemResource doesn't work in an OSGi context.
Previous Topic:Undo not working from keyboard in custom view but working using mouse shortcut
Next Topic:dirty parts sometimes not shown for saving on application closing
Goto Forum:
  


Current Time: Wed Jan 26 00:09:27 GMT 2022

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

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

Back to the top