[
https://issues.apache.org/jira/browse/CXF-7657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378470#comment-16378470
]
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-368851321
hi @andymc12,
I can try but the problem is that the failures are random because the
fallback case when the providers come with the same `@Priority` is
```Integer.compare(o1.hashCode(), o2.hashCode())```
----------------------------------------------------------------
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:
[email protected]
> 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)