[
https://issues.jboss.org/browse/WFLY-12191?page=com.atlassian.jira.plugin...
]
Deny Wuysan commented on WFLY-12191:
------------------------------------
*I have verified by removing @Provider on authenticator, and it works!*
Having said that, referring to Java EE Spec, for ClientRequestFilter, which states:
_"An extension interface implemented by client request filters. Filters implementing
this interface MUST be annotated with @Provider. This type of filters is supported only as
part of the Client API."_
https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/ClientRequestFilt...
... so I assume this is a bug which will be addressed in the future release of Wildfly?
StackOverflowError is thrown when invoking a REST end-point, with
ClientRequestFilter/ClientResponseFilter registered
---------------------------------------------------------------------------------------------------------------------
Key: WFLY-12191
URL:
https://issues.jboss.org/browse/WFLY-12191
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 17.0.0.Final
Environment: Fedora 30, Oracle JDK 1.8.0_181
Reporter: Deny Wuysan
Assignee: Alessio Soldano
Priority: Major
Attachments: Authenticator.java, BatchManager.java, WFLY-12191.zip
Please find attached the two Java files corresponding to the error. When setting debugger
on line 50 for Authenticator.java, notice repetitive calls occurred, ONLY on Wildfly
17.0.0.Final.
Have re-tested this case on Wildfly 16.0.0.Final and the REST call made successfully.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)