Skip to content

Commit

Permalink
Move Tika substitutions to proper package
Browse files Browse the repository at this point in the history
Also add a comment about removing the PDFBox one when migrating to
GraalVM 21.
  • Loading branch information
gsmet committed Dec 21, 2020
1 parent aa7b253 commit 462eff2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.tika.graalvm;
package io.quarkus.tika.runtime.graal;

@com.oracle.svm.core.annotate.Substitute
@com.oracle.svm.core.annotate.TargetClass(className = "org.apache.poi.poifs.nio.CleanerUtil")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.quarkus.tika.graalvm;
package io.quarkus.tika.runtime.graal;

import java.awt.color.ColorSpace;
import java.awt.color.ICC_ColorSpace;
Expand Down Expand Up @@ -31,6 +31,7 @@ final class Target_org_apache_pdfbox_pdmodel_graphics_color_PDICCBased {

// Substitutions to prevent ICC_ColorSpace instances from appearing in the native image when using Apache Tika
// See https://github.com/quarkusio/quarkus/pull/13644
// These substitutions can be removed when moving from GraalVM 20.3 to GraalVM 21.0.
class PDFBoxSubstitutions {

}

0 comments on commit 462eff2

Please sign in to comment.