-
Bug
-
Resolution: Duplicate
-
Major
-
4.2.1.CR1
-
None
1. Create CDI 1.1 project and add deltaspike libs
2. create partial bean binding
@PartialBeanBinding @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) public @interface ExamplePartialBeanBinding { }
3.create interface
import javax.enterprise.context.ApplicationScoped; @ApplicationScoped @ExamplePartialBeanBinding public interface Interf { String sayHello(String hello); }
FAIL: There's no warning saying that class should have an invocation handler
4. create abstract class
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; } }
ASSERT: warning about missing invocation handler is displayed for abstract class
5. Check interface class again -> no warning, edit file & save -> warning is displayed
- duplicates
-
JBIDE-18345 PartialBeanBinding validation in annotated mode
- Closed