maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tibor Digana (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SUREFIRE-1242) Surefire should honour @javax.annotation.concurrent.NotThreadSafe as well
Date Tue, 26 Apr 2016 22:00:14 GMT

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

Tibor Digana commented on SUREFIRE-1242:
----------------------------------------

Sorry but this can't be used, however I was thinking of it when I designed this feature, because
of the retention type
{code}
@Documented
@Target(value=TYPE)
@Retention(value=CLASS)
public @interface NotThreadSafe
{code}

> Surefire should honour @javax.annotation.concurrent.NotThreadSafe as well
> -------------------------------------------------------------------------
>
>                 Key: SUREFIRE-1242
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1242
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support
>    Affects Versions: 2.19.1
>            Reporter: Frank Jakop
>
> In SUREFIRE-1093 the single-threaded execution of {{net.jcip.annotations.NotThreadSafe}}
annotated test classes was introduced.
> This annotation is also present as {{javax.annotation.concurrent.NotThreadSafe}} in the
widely used JSR-305-library _com.google.code.findbugs:jsr305_. 
> Surefire should respect this annotation also, as the danger of mis-importing the annotations
leads to confusion.
> (if this is a desired feature, I will provide a PR)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message