You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig L Russell (JIRA)" <ji...@apache.org> on 2016/04/01 18:24:25 UTC
[jira] [Commented] (JDO-751) Support for Java8 Optional
[ https://issues.apache.org/jira/browse/JDO-751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15221921#comment-15221921 ]
Craig L Russell commented on JDO-751:
-------------------------------------
Regarding Optional<Optional<T>>
I think we should throw StupidUserException when trying to enhance a class with a property of type Optional<Optional<T>>
If some user later has a real use case we can look at it then.
> Support for Java8 Optional
> --------------------------
>
> Key: JDO-751
> URL: https://issues.apache.org/jira/browse/JDO-751
> Project: JDO
> Issue Type: New Feature
> Components: specification, tck
> Reporter: Andy Jefferson
>
> java.util.Optional provides a feature that is available in other languages. Since JDO 3.2 will be for Java8+ then it makes sense to add support for this as a "supported persistable type"
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)