Skip to content

Commit 5aa5ca2

Browse files
authored
Merge pull request quarkusio#36223 from melloware/Q33030-liquibase
Fix Liquibase on Windows 11
2 parents 596d9ae + ac93aff commit 5aa5ca2

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package io.quarkus.liquibase.runtime.graal;
2+
3+
import java.util.Map;
4+
5+
import com.oracle.svm.core.annotate.Delete;
6+
import com.oracle.svm.core.annotate.Substitute;
7+
import com.oracle.svm.core.annotate.TargetClass;
8+
9+
@TargetClass(className = "liquibase.configuration.core.EnvironmentValueProvider")
10+
final class SubstituteEnvironmentValueProvider {
11+
12+
@Delete
13+
private Map<String, String> environment;
14+
15+
@Substitute
16+
protected Map<?, ?> getMap() {
17+
return System.getenv();
18+
}
19+
20+
}

0 commit comments

Comments
 (0)