Skip to content

Converter for java.util.Optional #293

@xtaixe

Description

@xtaixe

There are issues with Optional and Java 17. See quarkusio/quarkus#25413

com.thoughtworks.xstream.converters.ConversionException: No converter available
---- Debugging information ----
message             : No converter available
type                : java.util.Optional
converter           : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
message[1]          : Unable to make field private static final java.util.Optional java.util.Optional.EMPTY accessible: module java.base does not "opens java.util" to unnamed module @33723e30
-------------------------------

Is it possible to add a converter for java.util.Optional?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions