You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2015/09/23 13:55:04 UTC
[jira] [Commented] (GROOVY-7599) @Immutable should recognize
JSR-310 classes
[ https://issues.apache.org/jira/browse/GROOVY-7599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14904385#comment-14904385 ]
Paul King commented on GROOVY-7599:
-----------------------------------
You can (for the time being) use {{knownImmutableClasses}} and {{knownImmutables}} to force them to be recognized but you are correct in that they are good candidates to recognize out of the box.
> @Immutable should recognize JSR-310 classes
> -------------------------------------------
>
> Key: GROOVY-7599
> URL: https://issues.apache.org/jira/browse/GROOVY-7599
> Project: Groovy
> Issue Type: Improvement
> Affects Versions: 2.4.4
> Reporter: Christopher Smith
> Priority: Minor
>
> The JSR-310 classes ({{java.time}}) were designed specifically as an immutable API. The {{@Immutable}} transform should be updated to recognize them out of the box.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)