Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
The --release option of the compiler has safer guarantees of compatibility with the specified Java version. These guarantees are not available supported when using --source and --target (see: https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror).
Now that we moved to Java 11 as the minimum, we should replace the usages of those 2 flags with just the release option.
Attachments
Issue Links
- is related to
-
CAMEL-17429 build: remove or adjust Maven profiles for deprecated JDKs
- Resolved
- links to