From 028872a65b59cc68e9393305af60f0e7d9a78199 Mon Sep 17 00:00:00 2001 From: Melloware Date: Wed, 8 Nov 2023 16:43:22 -0500 Subject: [PATCH] Debug --trace-object-instantiation=org.apache.pdfbox.rendering.ImageType$2 (#170) --- integration-tests/pom.xml | 3 +++ .../main/java/io/quarkus/tika/runtime/graal/TikaFeature.java | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/integration-tests/pom.xml b/integration-tests/pom.xml index 4b8ccab..e10fa5b 100644 --- a/integration-tests/pom.xml +++ b/integration-tests/pom.xml @@ -97,6 +97,9 @@ native + + --trace-object-instantiation=org.apache.pdfbox.rendering.ImageType$2 + diff --git a/runtime/src/main/java/io/quarkus/tika/runtime/graal/TikaFeature.java b/runtime/src/main/java/io/quarkus/tika/runtime/graal/TikaFeature.java index 6e3519a..7d213a8 100644 --- a/runtime/src/main/java/io/quarkus/tika/runtime/graal/TikaFeature.java +++ b/runtime/src/main/java/io/quarkus/tika/runtime/graal/TikaFeature.java @@ -9,7 +9,6 @@ public void afterRegistration(AfterRegistrationAccess access) { final String reason = "Quarkus run time init for Apache Tika"; RuntimeClassInitialization.initializeAtRunTime("org.apache.pdfbox.pdmodel", reason); RuntimeClassInitialization.initializeAtRunTime("org.apache.pdfbox.rendering", reason); - RuntimeClassInitialization.initializeAtBuildTime(org.apache.pdfbox.rendering.ImageType.class); } @Override