diff --git a/core/deployment/src/main/java/io/quarkus/deployment/builditem/SetClassPathSystemPropBuildItem.java b/core/deployment/src/main/java/io/quarkus/deployment/builditem/SetClassPathSystemPropBuildItem.java index 7461e22f7a73f..e22770f0fc4ee 100644 --- a/core/deployment/src/main/java/io/quarkus/deployment/builditem/SetClassPathSystemPropBuildItem.java +++ b/core/deployment/src/main/java/io/quarkus/deployment/builditem/SetClassPathSystemPropBuildItem.java @@ -7,6 +7,9 @@ * This system property is used in rare by libraries (Truffle for example) to create their own ClassLoaders. * The value of the system property is simply best effort, as there is no way to faithfully represent * the Quarkus ClassLoader hierarchies in a system property value. + * + * @deprecated This was initially added to support Truffle, but it is no longer needed so the build item should not be used */ +@Deprecated(forRemoval = true) public final class SetClassPathSystemPropBuildItem extends MultiBuildItem { } 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 ef13a10c2d896..d34385c4ac233 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 @@ -14,6 +14,7 @@ import io.quarkus.maven.dependency.ResolvedDependency; import io.quarkus.runtime.ClassPathSystemPropertyRecorder; +@SuppressWarnings("removal") public class ClassPathSystemPropBuildStep { @BuildStep