You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Attila Doroszlai (Jira)" <ji...@apache.org> on 2024/06/29 05:13:00 UTC

[jira] [Created] (RATIS-2121) Set javac --release when compiling with JDK 9+

Attila Doroszlai created RATIS-2121:
---------------------------------------

             Summary: Set javac --release when compiling with JDK 9+
                 Key: RATIS-2121
                 URL: https://issues.apache.org/jira/browse/RATIS-2121
             Project: Ratis
          Issue Type: Improvement
          Components: build
            Reporter: Attila Doroszlai
            Assignee: Attila Doroszlai


Java 9 introduced new [option {{--release}}|https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#option-release] for {{javac}}, which helps ensure compatibility with the given Java version ([blog with great explanation|https://www.morling.dev/blog/bytebuffer-and-the-dreaded-nosuchmethoderror/]).  The goal of this task is to set this option when compiling with JDK 9+.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)