Closed
Description
Summary
Lambda now supports Java 17. We use the powertools, in particular SQS Large message handling.
We would like to update our projects to Java 17.
Unfortunately, this is currently not possible because of the AspectJ version used.
<aspectj.version>1.9.7</aspectj.version>
Build fails with:
[error] target level should be in '1.1'...'1.8','9'...'16' (or '5.0'..'16.0') or cldc1.1: 17
Why is this needed?
Upgrade to Java 17 not possible.
Which area does this relate to?
SQS Large Message Handling
Solution
Upgrade AspectJ to a version which supports Java 17.
At least version 1.9.8
should support it.
Acknowledgment
- This request meets Lambda Powertools Tenets
- Should this be considered in other Lambda Powertools languages? i.e. Python, TypeScript