You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/01/05 06:16:00 UTC
[jira] [Updated] (CAMEL-17432) build: replace --source and --target with --release
[ https://issues.apache.org/jira/browse/CAMEL-17432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-17432:
--------------------------------
Fix Version/s: 3.15.0
> build: replace --source and --target with --release
> ---------------------------------------------------
>
> Key: CAMEL-17432
> URL: https://issues.apache.org/jira/browse/CAMEL-17432
> Project: Camel
> Issue Type: Improvement
> Components: build system
> Reporter: Otavio Rodolfo Piske
> Assignee: Otavio Rodolfo Piske
> Priority: Major
> Fix For: 3.15.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)