diff --git a/src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java b/src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java index 05159b997..17082155c 100644 --- a/src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java +++ b/src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java @@ -10,6 +10,7 @@ import org.sqlite.jdbc3.JDBC3DatabaseMetaData; import org.sqlite.util.LibraryLoaderUtil; import org.sqlite.util.OSInfo; +import org.sqlite.util.ProcessRunner; import java.io.IOException; import java.io.InputStream; @@ -27,6 +28,7 @@ public void beforeAnalysis(BeforeAnalysisAccess a) { RuntimeClassInitialization.initializeAtBuildTime(SQLiteJDBCLoader.VersionHolder.class); RuntimeClassInitialization.initializeAtBuildTime(JDBC3DatabaseMetaData.class); RuntimeClassInitialization.initializeAtBuildTime(OSInfo.class); + RuntimeClassInitialization.initializeAtBuildTime(ProcessRunner.class); RuntimeClassInitialization.initializeAtBuildTime(LibraryLoaderUtil.class); a.registerReachabilityHandler( this::nativeDbReachable, method(SQLiteJDBCLoader.class, "initialize"));