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

enhancement: add support for JDK8's Optional #9

Closed
bbottema opened this issue Nov 4, 2019 · 0 comments
Closed

enhancement: add support for JDK8's Optional #9

bbottema opened this issue Nov 4, 2019 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@bbottema
Copy link
Owner

bbottema commented Nov 4, 2019

JDK8's Optional doesn't have a constructor that can be used but instead relies on factory methods Optional.of and Optional.ofNullable.

However, this library still supports JDK7 due to wide enough use. To enable Optional support, it needs to be implemented using only reflection code.

@bbottema bbottema added the enhancement New feature or request label Nov 4, 2019
@bbottema bbottema added this to the 3.1.0 milestone Nov 4, 2019
@bbottema bbottema changed the title Enhancement: add support for JDK8's Optional enhancement: add support for JDK8's Optional Nov 4, 2019
@bbottema bbottema closed this as completed Nov 4, 2019
bbottema added a commit that referenced this issue Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant