> +1 to Felix suggestion but we should reduce the use of Java 6 to a > minimum, e.g. SLING-2575 is about our commons osgi bundle which is > used in a lot of places.
Agreed ... it should preferably be used for new bundles. Old bundles should not make use of JDK 6 unless really required. As for SLING-2575 - The JDK 6 requirement is not to include that patch. Instead it is required to use the approach proposed in that patch (see the last few comments). So we do not change the commons bundle but instead users can use new ConcurrentSkipListMap to manage ordered list of references based on service ranking. Chetan Mehrotra
