]
Brian Stansberry updated WFLY-13788:
------------------------------------
Labels: EE9 (was: )
Provide an Externalizer for SessionContextImpl
----------------------------------------------
Key: WFLY-13788
URL:
https://issues.redhat.com/browse/WFLY-13788
Project: WildFly
Issue Type: Task
Components: EJB
Reporter: Brian Stansberry
Assignee: Brian Stansberry
Priority: Major
Labels: EE9
The SessionContextImpl class implements SessionContext, which has the 'public
MessageContext getMessageContext()' method in EE 8 but not in EE 9. The 'Message
Context' return type doesn't exist in our EE 9 server, which won't provide the
pruned JAXRPC API.
This seems to work ok for normal operation, as the method is never used. But I'm
seeing failures in the clustering testsuite in cases where the SessionContextImpl is being
marshalled. The default marshalling is iterating over Class.getDeclaredMethods, which then
tries to load the non-existent MessageContext class which fails.
Workaround to this is to register an Externalizer for this class.