Open NottyCode opened 4 years ago
Strange that it is intermittent... I've seen something similar to this with the IBM JDK 8. This is dealing with the invocation of default interface methods on the dynamic proxy instance. In Java SE 9, there is a new MethodHandles.Lookup method called privateLookupIn that can access default interface methods. In Java SE 8, it is not possible to invoke default interface methods on a proxy object reflectively without using internal JDK methods. My guess is that the IBM JDK changed their internal JDK method somewhat which is throwing this code off.
Reference for the failing code: https://github.com/OpenLiberty/open-liberty/blob/0ae641f7e0d0bf858635d78c9589877ae6c96b8b/dev/com.ibm.ws.org.apache.cxf.cxf.rt.rs.client.3.2/src/org/apache/cxf/jaxrs/client/ClientProxyImpl.java#L193
Describe the bug The Open Liberty website has the following REST client class: https://github.com/OpenLiberty/openliberty.io/blob/master/src/main/java/io/openliberty/website/dheclient/BuildStore.java
It is failing in production with this error:
Java version is:
This is running in IBM Cloud - Cloud Foundry.
Liberty version is 20.0.0.3.
This is an intermittent issue, it doesn't happen every time.
Steps to Reproduce Steps to reproduce the bug
Expected behavior A clear and concise description of what you expected to happen.
Diagnostic information:
java -version
]$WLP_OUTPUT_DIR/messages.log
Additional context Add any other context about the problem here.