[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6935) Incorrect validation message for @Interceptor - binding not recognized
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Sat Aug 28 14:21:11 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-6935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov resolved JBIDE-6935.
-----------------------------------
Fix Version/s: 3.2.0.M2
Resolution: Cannot Reproduce Bug
I cannot reproduce this issue in M2. Probably it was fixed in M2.
I have:
@Interceptor
@InterceptorStereotype
public class InterceptorBinfdingsInInterceptor {
@AroundInvoke
public Object intercept(InvocationContext ctx) throws Exception {
return ctx.proceed();
}
}
@Stereotype
@CatInterceptorBinding
@Target({ TYPE })
@Retention(RUNTIME)
@Documented
public @interface InterceptorStereotype {
}
@Inherited
@InterceptorBinding
@Target( { TYPE, METHOD })
@Retention(RUNTIME)
@interface CatInterceptorBinding {
}
Could you verify it in M2 (nightly build)?
> Incorrect validation message for @Interceptor - binding not recognized
> ----------------------------------------------------------------------
>
> Key: JBIDE-6935
> URL: https://jira.jboss.org/browse/JBIDE-6935
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi (jsr-299)
> Affects Versions: 3.2.0.M1
> Environment: Version: Helios Release, Build id: 20100617-1415, Ubuntu 10.04 / 64
> Reporter: Jan Groth
> Assignee: Alexey Kazakov
> Priority: Minor
> Fix For: 3.2.0.M2
>
>
> If an interceptor binding is declared as part of a stereotype definition (http://docs.jboss.org/weld/reference/1.0.1-Final/en-US/html/stereotypes.html#d0e4339), it's not recognized by JBoss-Tools, and the following validation message is rendered:
> "Interceptor declared using @Interceptor should specify at least one interceptor binding [JSR-299 §9.2]"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list