[jbosstools-issues] [JBoss JIRA] (JBIDE-18852) No warning about missing invocation handler for interface
Rastislav Wagner (JIRA)
issues at jboss.org
Mon Feb 23 13:12:50 EST 2015
[ https://issues.jboss.org/browse/JBIDE-18852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042948#comment-13042948 ]
Rastislav Wagner commented on JBIDE-18852:
------------------------------------------
I just checked this in Alpha1 and the issue resolved. Its a dup of JBIDE-18345
> No warning about missing invocation handler for interface
> ---------------------------------------------------------
>
> Key: JBIDE-18852
> URL: https://issues.jboss.org/browse/JBIDE-18852
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdi-extensions
> Affects Versions: 4.2.1.CR1
> Reporter: Rastislav Wagner
> Assignee: Viacheslav Kabanovich
> Fix For: 4.3.0.Alpha2
>
>
> 1. Create CDI 1.1 project and add deltaspike libs
> 2. create partial bean binding
> {code}
> @PartialBeanBinding
> @Target(ElementType.TYPE)
> @Retention(RetentionPolicy.RUNTIME)
> public @interface ExamplePartialBeanBinding {
> }
> {code}
> 3.create interface
> {code}
> import javax.enterprise.context.ApplicationScoped;
> @ApplicationScoped
> @ExamplePartialBeanBinding
> public interface Interf {
> String sayHello(String hello);
> }
> {code}
> FAIL: There's no warning saying that class should have an invocation handler
> 4. create abstract class
> {code}
> import javax.enterprise.context.ApplicationScoped;
> @ApplicationScoped
> @ExamplePartialBeanBinding
> public abstract class Abs {
> public abstract String sayHello(String hello);
> public String otherHey (String hello) {
> return "Other: " + hello;
> }
> }
> {code}
> ASSERT: warning about missing invocation handler is displayed for abstract class
> 5. Check interface class again -> no warning, edit file & save -> warning is displayed
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list