Skip to content

Commit

Permalink
Merge pull request #36223 from melloware/Q33030-liquibase
Browse files Browse the repository at this point in the history
Fix Liquibase on Windows 11
  • Loading branch information
gastaldi authored Sep 30, 2023
2 parents 596d9ae + ac93aff commit 5aa5ca2
Showing 1 changed file with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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<String, String> environment;

@Substitute
protected Map<?, ?> getMap() {
return System.getenv();
}

}

0 comments on commit 5aa5ca2

Please sign in to comment.