Skip to content

Commit

Permalink
Exclude the classloader for jasperreports-plugin due to a classloader…
Browse files Browse the repository at this point in the history
… conflict with ECJ
  • Loading branch information
Postremus committed Dec 8, 2023
1 parent 664a229 commit 9a0a59a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/eclipseAgent/lombok/eclipse/agent/EclipsePatcher.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ private static void registerPatchScripts(Instrumentation instrumentation, boolea
if (loader != null) {
if (loader.getClass().getName().startsWith("org.sonar.classloader.")) return false; // Relevant to bug #2351
if (loader.toString().contains("com.alexnederlof:jasperreports-plugin")) return false; //Relevant to bug #1036
if (loader.toString().contains("com.pro-crafting.tools:jasperreports-plugin")) return false; //Relevant to bug #1036
}
if (!(loader instanceof URLClassLoader)) return true;
ClassLoader parent = loader.getParent();
Expand Down

0 comments on commit 9a0a59a

Please sign in to comment.