Exclude the classloader for jasperreports-maven-plugin due to a classloader conflict with ECJ

This commit is contained in:
Martin Panzer committed 2024-09-10 07:13:37 +02:00
1 parent 9f79825a46
commit 1fd5749e47
2 files changed
+3

No files matched your search

+2
View File
@@ -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).
@@ -63,6 +63,7 @@ public class EclipsePatcher implements AgentLauncher.AgentLaunchable {
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();