Marko Lukša commented on Bug WELD-1111

Yes, this is expected.

The spec says:

If X declares an ... observer ... method x() then Y inherits x() if and only if neither Y nor any intermediate class that is a subclass of X and a superclass of Y overrides the method x().

So CityDetailsView does not inherit the method AbstractDetailsView.select(), since it is overriden by AbstractTranslatableDetailsView. And since the overriding method does not have @Observers, it is not an observer method.

There's also a test that tests this: https://github.com/weld/core/blob/master/tests-arquillian/src/test/java/org/jboss/weld/tests/event/observer/superclass/DisabledTestObserver.java

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