You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Otavio Rodolfo Piske (Jira)" <ji...@apache.org> on 2022/01/04 19:41:00 UTC

[jira] [Created] (CAMEL-17432) build: replace --source and --target with --release

Otavio Rodolfo Piske created CAMEL-17432:
--------------------------------------------

             Summary: 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


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)