Skip to content

Commit

Permalink
Do not load JBoss Logging from integration class loader
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlloyd committed Oct 5, 2024
1 parent 100266c commit e12a377
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public Class<?> loadClass(String name) throws ClassNotFoundException {
@Override
protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
if (name.startsWith("org.") && !(name.startsWith("org.xml.") || name.startsWith("org.w3c.")
|| name.startsWith("org.jboss."))) {
|| (name.startsWith("org.jboss.") && !name.startsWith("org.jboss.logging.")))) {
//jbang has some but not all the maven resolver classes we need on its
//class path. These all start with org. so we filter them out to make sure
//we get a complete class path
Expand Down

0 comments on commit e12a377

Please sign in to comment.