Skip to content

Commit

Permalink
Register additional JDK classes for serialization required by Nitrite
Browse files Browse the repository at this point in the history
Fixes #5070
  • Loading branch information
jamesnetherton committed Jul 7, 2023
1 parent a57ae34 commit da6b251
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.ConcurrentSkipListSet;

import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.BuildStep;
Expand All @@ -47,22 +49,24 @@ public class CamelSerializationProcessor {
Byte.class.getName(),
Character.class.getName(),
Collections.EMPTY_LIST.getClass().getName(),
ConcurrentSkipListMap.class.getName(),
ConcurrentSkipListSet.class.getName(),
Date.class.getName(),
Double.class.getName(),
Exception.class.getName(),
Float.class.getName(),
HashMap.class.getName(),
HashSet.class.getName(),
Integer.class.getName(),
LinkedHashMap.class.getName(),
LinkedHashSet.class.getName(),
Long.class.getName(),
Number.class.getName(),
RuntimeException.class.getName(),
StackTraceElement.class.getName(),
StackTraceElement[].class.getName(),
String.class.getName(),
Throwable.class.getName(),
HashSet.class.getName(),
LinkedHashSet.class.getName(),

// Camel classes
CamelExecutionException.class.getName(),
Expand Down

0 comments on commit da6b251

Please sign in to comment.