Skip to content

Commit

Permalink
Eclipse hack boot delegation
Browse files Browse the repository at this point in the history
Eclipse seems to use boot delegation for javax.*. Since
we're not doing this in our debug setup, we get errors.
This patch just does the same brain damaged thing
Eclipse is doing to mitigate even brain deader
bundles. Yes, I am frustrated, bnd fixed this problem
20 years ago!
Fixes bndtools#5911

---
 Signed-off-by: Peter Kriens <[email protected]>

Signed-off-by: Peter Kriens <[email protected]>
  • Loading branch information
pkriens committed Dec 1, 2023
1 parent eca3fb7 commit 504aebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bndtools.core/bndtools.shared.bndrun
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
eclipse.product=org.eclipse.sdk.ide,\
osgi.console=,\
osgi.instance.area.default=../bndtools.test/workspace,\
org.osgi.framework.bootdelegation='javax.net,javax.management,org.xml.sax,org.xml.sax.helpers,javax.xml,javax.xml.parsers',\
org.osgi.framework.bootdelegation='javax.*,org.xml.*',\
logback.configurationFile=${fileuri;${.}/logback.xml}

# Keep sorted so that we can diff
Expand Down

0 comments on commit 504aebd

Please sign in to comment.