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
Martin Panzer committed Sep 10, 2024
1 parent 9f79825 commit b7a216e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/changelog.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Lombok Changelog

### v1.18.35 "Edgy Guinea Pig"
* We recently released v1.18.34; there is no edge release since then.
* BUGFIX: Eclipse projects using the `com.pro-crafting.tools:jasperreports-maven-plugin` will now compile.


### v1.18.34 (June 28th, 2024)
* PLATFORM: Added support for Eclipse 2024-06; you'd get some `NoSuchMethodError` traces in your logs if using `@Builder` or `@Singular` prior to this fix. [Issue #3638](https://github.com/projectlombok/lombok/issues/3638).
Expand Down
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 @@ -63,6 +63,7 @@ private static void registerPatchScripts(Instrumentation instrumentation, boolea
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.toString().contains("com.pro-crafting.tools:jasperreports-maven-plugin")) return false; //Relevant to bug #1036
}
if (!(loader instanceof URLClassLoader)) return true;
ClassLoader parent = loader.getParent();
Expand Down

0 comments on commit b7a216e

Please sign in to comment.