diff --git a/extensions/liquibase/runtime/src/main/java/io/quarkus/liquibase/runtime/graal/SubstituteEnvironmentValueProvider.java b/extensions/liquibase/runtime/src/main/java/io/quarkus/liquibase/runtime/graal/SubstituteEnvironmentValueProvider.java new file mode 100644 index 0000000000000..2fae996137a87 --- /dev/null +++ b/extensions/liquibase/runtime/src/main/java/io/quarkus/liquibase/runtime/graal/SubstituteEnvironmentValueProvider.java @@ -0,0 +1,20 @@ +package io.quarkus.liquibase.runtime.graal; + +import java.util.Map; + +import com.oracle.svm.core.annotate.Delete; +import com.oracle.svm.core.annotate.Substitute; +import com.oracle.svm.core.annotate.TargetClass; + +@TargetClass(className = "liquibase.configuration.core.EnvironmentValueProvider") +final class SubstituteEnvironmentValueProvider { + + @Delete + private Map environment; + + @Substitute + protected Map getMap() { + return System.getenv(); + } + +} \ No newline at end of file