[jbosstools-issues] [JBoss JIRA] (JBIDE-15428) No JAX-RS problems when importing a project that contains HTTPMethod annotation without @Target and @Retention

Xavier Coulon (JIRA) jira-events at lists.jboss.org
Fri Oct 11 11:56:26 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12813524#comment-12813524 ] 

Xavier Coulon commented on JBIDE-15428:
---------------------------------------

[~maxandersen]

I updated the PR by using a ReadWriteLock instead of the synchronized() blocks, and bypassed the Java ElementChangeEvents when the Java Project is not open (ie, during the import). This removes the race conditions (validator called on the whole project before the metamodel was fully built), and it also reduces the time to import the project ;-)
                
> No JAX-RS problems when importing a project that contains HTTPMethod annotation without @Target and @Retention
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-15428
>                 URL: https://issues.jboss.org/browse/JBIDE-15428
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: webservices
>    Affects Versions: 4.1.0.Final
>            Reporter: Radoslav Rábara
>            Assignee: Max Rydahl Andersen
>             Fix For: 4.1.1.Beta1, 4.2.0.Alpha1
>
>         Attachments: After import.png, After workaround.png, Before import.png
>
>
> After importing Dynamic Web Project with JAX-RS support with HTTPMethod annotation without @Target and @Retention annotations, there is no error.
> This looks like a regression of JBIDE-12690.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list