[cxf] branch master updated: CXF-8401: java.lang.IllegalAccessError exception after updating Java 14 to 15

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[cxf] branch master updated: CXF-8401: java.lang.IllegalAccessError exception after updating Java 14 to 15

reta
This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new b5902ef  CXF-8401: java.lang.IllegalAccessError exception after updating Java 14 to 15
b5902ef is described below

commit b5902ef6f3e52b0a0be429a0114e59d404664080
Author: reta <[hidden email]>
AuthorDate: Thu Jan 7 21:34:59 2021 -0500

    CXF-8401: java.lang.IllegalAccessError exception after updating Java 14 to 15
---
 .../cxf/microprofile/client/MicroProfileClientProviderFactory.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rt/rs/microprofile-client/src/main/java/org/apache/cxf/microprofile/client/MicroProfileClientProviderFactory.java b/rt/rs/microprofile-client/src/main/java/org/apache/cxf/microprofile/client/MicroProfileClientProviderFactory.java
index a41e2b3..c7a7ac7 100644
--- a/rt/rs/microprofile-client/src/main/java/org/apache/cxf/microprofile/client/MicroProfileClientProviderFactory.java
+++ b/rt/rs/microprofile-client/src/main/java/org/apache/cxf/microprofile/client/MicroProfileClientProviderFactory.java
@@ -88,7 +88,7 @@ public final class MicroProfileClientProviderFactory extends ProviderFactory {
     }
 
     static Comparator<ProviderInfo<?>> createComparator(MicroProfileClientFactoryBean bean) {
-        Comparator<ProviderInfo<?>> parent = ProviderFactory::compareCustomStatus;
+        Comparator<ProviderInfo<?>> parent = (o1, o2) -> compareCustomStatus(o1, o2);
         return new ContractComparator(bean, parent);
     }