[ 
https://issues.apache.org/jira/browse/KAFKA-17881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chia-Ping Tsai resolved KAFKA-17881.
------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> Apply the minJavaVersion to test code
> -------------------------------------
>
>                 Key: KAFKA-17881
>                 URL: https://issues.apache.org/jira/browse/KAFKA-17881
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Chia-Ping Tsai
>            Assignee: Chia-Chuan Yu
>            Priority: Blocker
>             Fix For: 4.0.0
>
>
> KAFKA-16564 move all java configs to the `configureJavaCompiler`, but it did 
> not add minJavaVersion to the test scope.
> {color:#cf8e6d}if {color}(name == {color:#6aab73}"compileTestJava" {color}|| 
> name == {color:#6aab73}"compileTestScala"{color}) {
> options.compilerArgs << {color:#6aab73}"-parameters"{color}
> {color:#6aab73}// we need following change
> {color}{color:#6aab73} {color}options.compilerArgs += 
> [{color:#6aab73}"--release"{color}, String.valueOf(minJavaVersion)]
> } {color:#cf8e6d}else if {color}(name == {color:#6aab73}"compileJava" 
> {color}|| name == {color:#6aab73}"compileScala"{color}) {



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

Reply via email to