maven-issues mailing list archives

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


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
public @interface NotThreadSafe

> Surefire should honour @javax.annotation.concurrent.NotThreadSafe as well
> -------------------------------------------------------------------------
>                 Key: SUREFIRE-1242
>                 URL:
>             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 
> 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

View raw message