Fork me on GitHub
#aws
<
2018-12-19
>
cjsauer14:12:55

I see there are new descriptors for apigatewayv2, and apigatewaymanagementapi. Both 11-29-2018. https://github.com/aws/aws-sdk-js/tree/master/apis

cjsauer15:12:33

Issue for WebSocket support in the aws-api project: https://github.com/cognitect-labs/aws-api/issues/29

aaelony21:12:48

I’m using the com.cognitect.aws/api library (which is fantastic). I’m seeing a “WARNING: An illegal reflective access operation has occurred” message. Everything works, but the message is annoying. Has anyone else encountered this?

chrisulloa22:12:22

@aaelony What version of java are you running?

aaelony22:12:39

$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode) 

chrisulloa22:12:35

Does it mention which dependency is the culprit? Moving over to Java 11 from Java 8 causes a lot of illegal reflective access op warnings for many libraries. For us it was specifically the protobuf library which isn’t fully supported for Java 11 yet. I’m not seeing this occur with com.cognitect.aws/api on java 11 however so it might be another dependency in your code.

aaelony22:12:30

Here’s the full set of warnings to the console:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.jetty.util.BufferUtil (file:/Users/aaelony/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar) to field java.nio.MappedByteBuffer.fd
WARNING: Please consider reporting this to the maintainers of org.eclipse.jetty.util.BufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

aaelony22:12:10

probably not the right place to post in the #aws channel, I suppose