[ https://issues.apache.org/jira/browse/CXF-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16393322#comment-16393322 ]
ASF GitHub Bot commented on CXF-7657: ------------------------------------- csierra commented on issue #385: [CXF-7657] Reader and Writer interceptors are not sorted by the proviā¦ URL: https://github.com/apache/cxf/pull/385#issuecomment-371901800 hey @andymc12, sorry this took so long. I updated the test showing the problem with the ReaderInterceptor and WriterInterceptor and the `Comparator`. If you revert the fix you will see the test failing. There is a small chance, though, that the test passes because the current behaviour is random, so it might happen that the writers fall in the expected order even though they are not being sorted. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Reader and Writer interceptors are not sorted by the provider comparator > ------------------------------------------------------------------------ > > Key: CXF-7657 > URL: https://issues.apache.org/jira/browse/CXF-7657 > Project: CXF > Issue Type: Bug > Components: JAX-RS > Affects Versions: 3.2.2, 3.2.3 > Reporter: Carlos Sierra > Priority: Major > Attachments: patch.diff > > > ReaderInterceptors and WriterInterceptors are not sortered when a provider > comparator is provided. > Please see attached patch for a proposed (probably excessively naive) > solution. -- This message was sent by Atlassian JIRA (v7.6.3#76005)