Start 6.0 version
* Upgrade to Java 17, SF-6.0, Gradle 7.2 * Upgrade to Jakarta dependencies and respective namespaces * Fix some tests for Java 17 compatibility * Fix wrong Javadocs * Add some missed Javadocs * Fix more `jakarta` namespace * Fix WS & XML modules to use Jakarta EE * `--add-opens` in some modules for their reflection-based tests * Disable Kafka tests which does not work on Windows; see Apache Kafka `3.0.1` * Upgrade to JUnit `5.8.1` * Migrate JMS tests to Artemis * Remove RMI module as it was deprecated before * Fix `pr-build-workflow.yml` for Java 17 * Fix JavaDocs warnings using `Xdoclint:syntax` per module, not in the top-level `api` task * Move docs for version `6.0`
This commit is contained in:
@@ -18,8 +18,6 @@ package org.springframework.integration.groovy;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.UncheckedIOException;
|
||||
import java.security.AccessController;
|
||||
import java.security.PrivilegedAction;
|
||||
import java.util.Map;
|
||||
import java.util.concurrent.locks.Lock;
|
||||
import java.util.concurrent.locks.ReentrantLock;
|
||||
@@ -74,9 +72,7 @@ public class GroovyScriptExecutingMessageProcessor extends AbstractScriptExecuti
|
||||
|
||||
private ScriptSource scriptSource;
|
||||
|
||||
private GroovyClassLoader groovyClassLoader =
|
||||
AccessController.doPrivileged((PrivilegedAction<GroovyClassLoader>)
|
||||
() -> new GroovyClassLoader(ClassUtils.getDefaultClassLoader()));
|
||||
private GroovyClassLoader groovyClassLoader = new GroovyClassLoader(ClassUtils.getDefaultClassLoader());
|
||||
|
||||
private boolean compileStatic;
|
||||
|
||||
@@ -160,9 +156,7 @@ public class GroovyScriptExecutingMessageProcessor extends AbstractScriptExecuti
|
||||
compilerConfig = this.compilerConfiguration;
|
||||
}
|
||||
|
||||
this.groovyClassLoader =
|
||||
AccessController.doPrivileged((PrivilegedAction<GroovyClassLoader>)
|
||||
() -> new GroovyClassLoader(getBeanClassLoader(), compilerConfig));
|
||||
this.groovyClassLoader = new GroovyClassLoader(getBeanClassLoader(), compilerConfig);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user