check the ExposeInvocationInterceptor is front in the interceptor chain issue #26743

Comment From: pivotal-issuemaster

@wisty Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-issuemaster

@wisty Thank you for signing the Contributor License Agreement!

Comment From: wisty

what happening lead to this pr in:core state

Comment From: sbrannen

According to the Javadoc for ExposeInvocationInterceptor:

If used, this interceptor will normally be the first in the interceptor chain.

Thus, I don't think there is any guarantee that the ExposeInvocationInterceptor is first in the interceptor chain, which your proposed change checks for.

If you feel that you have encountered a bug, please introduce a test that fails before the fix and passes after the fix.

Comment From: snicoll

closing due to lack of feedback.