This is an automated email from the ASF dual-hosted git repository. tallison pushed a commit to branch TIKA-4567 in repository https://gitbox.apache.org/repos/asf/tika.git
commit d4b0d07126d7fcece6edd8506b61a35985e4998b Author: tallison <[email protected]> AuthorDate: Thu Dec 11 11:27:47 2025 -0500 TIKA-4567 -- further tweaks --- tika-core/src/main/java/org/apache/tika/config/ConfigDeserializer.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tika-core/src/main/java/org/apache/tika/config/ConfigDeserializer.java b/tika-core/src/main/java/org/apache/tika/config/ConfigDeserializer.java index 68e88cd40f..18ab2ff12a 100644 --- a/tika-core/src/main/java/org/apache/tika/config/ConfigDeserializer.java +++ b/tika-core/src/main/java/org/apache/tika/config/ConfigDeserializer.java @@ -65,6 +65,8 @@ public class ConfigDeserializer { // Use a plain ObjectMapper for simple config deserialization. // The polymorphic mapper from tika-serialization is meant for ParseContext // serialization with actual polymorphic types, not for simple config classes. + //TODO -- we need to revisit this. We should be using the same object mapper for + //config files and for runtime configs instance = clazz.getDeclaredConstructor().newInstance(); method = clazz.getMethod("readValue", String.class, Class.class); } catch (Exception e) {
