From bfd704d2605edd1a4b20512aa518a0f4ed6a310d Mon Sep 17 00:00:00 2001 From: Georgios Andrianakis Date: Fri, 27 Sep 2024 10:11:00 +0300 Subject: [PATCH] Truffle no longer needs the java.class.path sysprop Relates to: #43410 --- .../deployment/steps/ClassPathSystemPropBuildStep.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java b/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java index dccb19214baec..ef13a10c2d896 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/steps/ClassPathSystemPropBuildStep.java @@ -6,7 +6,6 @@ import java.util.List; import java.util.stream.Stream; -import io.quarkus.deployment.annotations.BuildProducer; import io.quarkus.deployment.annotations.BuildStep; import io.quarkus.deployment.annotations.ExecutionTime; import io.quarkus.deployment.annotations.Record; @@ -17,15 +16,6 @@ public class ClassPathSystemPropBuildStep { - @BuildStep - public void produce(BuildProducer producer, CurateOutcomeBuildItem curateOutcome) { - boolean truffleUsed = curateOutcome.getApplicationModel().getDependencies().stream() - .anyMatch(d -> d.getGroupId().equals("org.graalvm.polyglot")); - if (truffleUsed) { - producer.produce(new SetClassPathSystemPropBuildItem()); - } - } - @BuildStep @Record(ExecutionTime.STATIC_INIT) public void set(List setCPItems,