[
https://issues.apache.org/jira/browse/RATIS-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang updated RATIS-2121:
-----------------------------------
Fix Version/s: 3.1.1
> 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
> Priority: Major
> Fix For: 3.1.1, 3.2.0
>
>
> 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)