private void registerSerializationHints(final RuntimeHints hints) {
        registerSerializationHints(hints,
            Boolean.class,
            Double.class,
            Integer.class,
            Long.class,
            String.class,

            ZonedDateTime.class,
            LocalDateTime.class,
            LocalDate.class,
            LocalTime.class,
            ZoneId.class,
            ZoneOffset.class,
            Instant.class,

            ArrayList.class,
            Vector.class,
            CopyOnWriteArrayList.class,
            LinkedList.class,

            HashMap.class,
            LinkedHashMap.class,
            ConcurrentHashMap.class,
            TreeMap.class,

            ConcurrentSkipListSet.class,
            HashSet.class,
            LinkedHashSet.class,
            CopyOnWriteArraySet.class,
            TreeSet.class,

            TypeReference.of("java.lang.String$CaseInsensitiveComparator"));

        registerSerializationHints(hints, findSubclassesInPackage(Clock.class, Clock.class.getPackageName()));
    }
This is {@link CasCoreUtilRuntimeHints}.

@author Misagh Moayyed
@since 7.0.0
core/cas-server-core-util/src/main/java/org/apereo/cas/nativex/CasCoreUtilRuntimeHints.java