https://issues.apache.org/bugzilla/show_bug.cgi?id=55862

            Bug ID: 55862
           Summary: @OnMessage and other annotations doesn't works in
                    super class
           Product: Tomcat 8
           Version: 8.0.0-RC5
          Hardware: PC
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: WebSocket
          Assignee: dev@tomcat.apache.org
          Reporter: zhouyanm...@gmail.com

javax.websocket.OnClose
javax.websocket.OnError
javax.websocket.OnMessage
javax.websocket.OnOpen

public class A {
    @OnMessage
    public void onMessage(Session session, String message) {
        System.out.println(message);
    }
}

@ServerEndpoint(value = "/websocket/b")
public class B extends A{
}

It looks like a bug,the Java EE websocket specification doesn't mention this
situation is a limitation.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to