Skip to content

Commit

Permalink
fix(native-image): support strict image heap
Browse files Browse the repository at this point in the history
  • Loading branch information
kkriske committed Aug 16, 2024
1 parent d1ec6ab commit b03a935
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java9/org/sqlite/nativeimage/SqliteJdbcFeature.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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"));
Expand Down

0 comments on commit b03a935

Please sign in to comment.