Skip to content

Commit

Permalink
Debug --trace-object-instantiation=org.apache.pdfbox.rendering.ImageT…
Browse files Browse the repository at this point in the history
…ype$2 (#170)
  • Loading branch information
melloware authored Nov 8, 2023
1 parent 38c2d37 commit 028872a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions integration-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@
</build>
<properties>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.additional-build-args>
--trace-object-instantiation=org.apache.pdfbox.rendering.ImageType$2
</quarkus.native.additional-build-args>
</properties>
</profile>
</profiles>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 028872a

Please sign in to comment.