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: 260
Registered: April 2012
Senior Member
See stackoverflow:

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: Sun Jun 16 18:33:26 GMT 2024

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

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

Back to the top