sagarmiglani opened a new pull request, #4:
URL:
https://github.com/apache/sling-org-apache-sling-resourceaccesssecurity/pull/4
…ultiple ResourceAccessGate refs
This PR fixes the exception thrown while initializing ResourceAccessSecurity
with multiple ResourceAccessGate refs
```
Caused by: java.lang.ClassCastException: class
org.apache.sling.resourceaccesssecurity.impl.ResourceAccessGateHandler cannot
be cast to class java.lang.Comparable
(org.apache.sling.resourceaccesssecurity.impl.ResourceAccessGateHandler is in
unnamed module of loader
org.apache.felix.framework.BundleWiringImpl$BundleClassLoader @45037a0c;
java.lang.Comparable is in module java.base of loader 'bootstrap')
at
java.base/java.util.Collections$ReverseComparator.compare(Collections.java:5554)
at
java.base/java.util.TimSort.countRunAndMakeAscending(TimSort.java:355)
at java.base/java.util.TimSort.sort(TimSort.java:220)
at java.base/java.util.Arrays.sort(Arrays.java:1308)
at
java.base/java.util.stream.SortedOps$SizedRefSortingSink.end(SortedOps.java:353)
at
java.base/java.util.stream.Sink$ChainedReference.end(Sink.java:261)
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]