You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Andi Huber (Jira)" <ji...@apache.org> on 2021/08/26 11:59:00 UTC

[jira] [Commented] (ISIS-517) ??? Support JSR-305 annotations (@Immutable, @Signed, @MatchesPattern)

    [ https://issues.apache.org/jira/browse/ISIS-517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17405179#comment-17405179 ] 

Andi Huber commented on ISIS-517:
---------------------------------

Indeed JEE-API and JSR305 share package javax.annotation.* - which was resolved with the jakarta-EE equivalent in version 9 - however, Spring (at 5.x) has not yet made this move in their dependencies. It is planned for Spring 6.x (sometime in 2022).

> ??? Support JSR-305 annotations (@Immutable, @Signed, @MatchesPattern)
> ----------------------------------------------------------------------
>
>                 Key: ISIS-517
>                 URL: https://issues.apache.org/jira/browse/ISIS-517
>             Project: Isis
>          Issue Type: New Feature
>          Components: Isis Applib (programming model)
>    Affects Versions: core-1.2.0
>            Reporter: Daniel Keir Haywood
>            Priority: Minor
>
> for jsr305 annotations, eg @Immutable, @Signed, @MatchesPattern
> applib.Filters.and(Filter<T>, Filter<T>) should be Filter<? super T>
> from duplicate ISIS-241:
> @javax.annotation.MatchesPattern 
> @javax.annotation.Nonnegative 
> @javax.annotation.Nullable 
> @javax.annotation.concurrent.Immutable 
> @javax.annotation.meta.Exhaustive (equivalent to @Bounded) 
> note that jsr305 is part of Isis' dependencies because of the dependency we take on google guava.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)