[ 
https://issues.apache.org/jira/browse/SUREFIRE-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Frank Jakop updated SUREFIRE-1242:
----------------------------------
    Description: 
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)

  was:
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.



> 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)

Reply via email to