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)

Reply via email to