Amazon Lambda HTTP Extension with Java 11: An illegal reflective access operation has occurred
See original GitHub issueDescribe the bug Looks like an aws dependency brings in jackson afterburner which has issues with using protected. Should I open a bug with the upstream AWS repo? Perhaps quarkus can remove this dependency? Do CI tests not check against java 11 for this extension?
- https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/How.20to.20get.20rid.20of.20the.20ILLEGAL.20messages
- https://github.com/awslabs/aws-serverless-java-container/blob/master/aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/LambdaContainerHandler.java#L84
- https://github.com/quarkusio/quarkus/blob/1.7.3.Final/extensions/amazon-lambda-http/runtime/src/main/java/io/quarkus/amazon/lambda/http/LambdaHttpHandler.java#L215-L225
Expected behavior Quarkus runs like it does on Java 8 - smoothly.
Actual behavior Quarkus crashes
To Reproduce Steps to reproduce the behavior:
git clone https://github.com/sherl0cks/kogito-aws-lambda
git checkout java-11
mvn clean test
using jdk 11
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:5 (4 by maintainers)
Top Results From Across the Web
AWS Lambda function errors in Java
This page describes how to view Lambda function invocation errors for the Java runtime using the Lambda console and the AWS CLI.
Read more >groovy WARNING: An illegal reflective access operation has ...
Just that my latest Ubuntu 21.10 is still only providing groovy-2.4.21. And for this particular reason, I think I'll use the java 8...
Read more >Confluence 7.4.0 intermittently and unexpectedly quits shortly ...
Enable debug logging for this logger for a complete list of JARs that were scanned ... An illegal reflective access operation has occurred...
Read more >A categorized list of all Java and JVM features since JDK 8 to 18
From Java 8 to 18. ... JDK 11 (Without lambda support in JDK 10) ... 9 - [2] that warns on the first...
Read more >JDK 11 Release Notes, Important Changes, and Information
The APIs described here are those that are provided with the Oracle JDK. It includes a complete implementation of the Java SE 11...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@patriot1burke thanks as always. Looks like upstream packages will need to be patched, released and then consumed in a new quarkus release. I’ll track this an test when a build is ready.
I think this is fixed now.