io.quarkus.jgit.runtime.graalvm.SystemReaderSubstitution Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-jgit Show documentation
Show all versions of quarkus-jgit Show documentation
Access your Git repositories
package io.quarkus.jgit.runtime.graalvm;
import java.util.concurrent.atomic.AtomicReference;
import org.eclipse.jgit.storage.file.FileBasedConfig;
import org.eclipse.jgit.util.SystemReader;
import com.oracle.svm.core.annotate.Alias;
import com.oracle.svm.core.annotate.RecomputeFieldValue;
import com.oracle.svm.core.annotate.TargetClass;
@TargetClass(SystemReader.class)
final class SystemReaderSubstitution {
@Alias
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
private AtomicReference systemConfig;
@Alias
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
private AtomicReference userConfig;
@Alias
@RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
private AtomicReference jgitConfig;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy