Skip to content

Commit

Permalink
do not inherit javasettings when the component defines javasettings
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 10, 2024
1 parent dd36ea4 commit 60224ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion core/src/main/java/lucee/runtime/PageContextImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ public final class PageContextImpl extends PageContext {
private StackTraceElement[] timeoutStacktrace;

private static final boolean READ_CFID_FROM_URL = Caster.toBooleanValue(SystemUtil.getSystemPropOrEnvVar("lucee.read.cfid.from.url", "true"), true);
private static final boolean INHERIT_JAVA_SETTINGS = false;
private static AtomicInteger _idCounter = new AtomicInteger(1);
private long lastTimeoutNoAction;

Expand Down Expand Up @@ -3857,7 +3858,8 @@ public ClassLoader getRPCClassLoader(boolean reload, JavaSettings customJS) thro
if (ac instanceof ComponentImpl) {
JavaSettings js = ((ComponentImpl) ac).getJavaSettings(this);
if (js != null) {
cl = config.getRPCClassLoader(reload, js, cl);
if (INHERIT_JAVA_SETTINGS) cl = config.getRPCClassLoader(reload, js, cl);
else cl = config.getRPCClassLoader(reload, js, null);
}
}

Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.2.0.97-SNAPSHOT"/>
<property name="version" value="6.2.0.98-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.2.0.97-SNAPSHOT</version>
<version>6.2.0.98-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 60224ea

Please sign in to comment.