When I deploy a sample project with the following classes in it, I get this at deploy time:
Here is the code:
public abstract class AbstractBean {
@PostConstruct
public void postConstruct() {
}
}
@Named
public class ConcreteBean extends AbstractBean {
@Boom
public void discord() {}
@Override
@PostConstruct
public void postConstruct() {
}
}
@SecurityBindingType
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
public @interface Boom {
}
public class Authorizer {
@Secures
@Boom
public boolean isOk() {
return true;
}
}
Is this a bug?
I forgot to mention that, if I comment out @Boom or @PostConstruct from Concrete class, deployment is successful.