Merge pull request #3740 from Postremus/jasperreports-maven-plugin

Exclude the classloader for jasperreports-maven-plugin due to a classloader conflict with ECJ
This commit is contained in:
Reinier Zwitserloot authored and GitHub committed 2024-09-11 01:55:21 +02:00
commit 3745ccdee7
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();