Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converter for java.util.Optional #293

Closed
xtaixe opened this issue May 6, 2022 · 0 comments
Closed

Converter for java.util.Optional #293

xtaixe opened this issue May 6, 2022 · 0 comments
Assignees
Milestone

Comments

@xtaixe
Copy link

xtaixe commented May 6, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants