GitHub user sschulze opened a pull request:

    https://github.com/apache/camel/pull/1333

    CAMEL-10562: camel-core - Switched to List#sort

    Usage of Collections.sort(CopyOnWriteArrayList, Comparator) causes an 
UnsupportedOperationException on Oracle Java 1.8.0 up to fixpack 20 due to the 
documented restriction of this method to require an implemented 
ListIterator#set(...) operation on the given list.
    
    For details have a look at 
[CAMEL-10562](https://issues.apache.org/jira/browse/CAMEL-10562).

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sschulze/camel master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/camel/pull/1333.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1333
    
----
commit bb8be00f5e50f4190677ffac8e73609446a600d9
Author: Stefan Schulze <stefan.schul...@gmail.com>
Date:   2016-12-06T23:02:19Z

    CAMEL-10562: camel-core - Switched to List#sort

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to