@@ -430,7 +430,7 @@ default: 'first-only-warn' in language version 2.2+, 'first-only' in version 2.1
430
430
args = dict (
431
431
default = "" ,
432
432
doc = "The target version of the generated JVM bytecode" ,
433
- values = ["1.6" , "1.8" , "9" , "10" , "11" , "12" , "13" , "15" , "16" , "17" ],
433
+ values = ["1.6" , "1.8" , "9" , "10" , "11" , "12" , "13" , "15" , "16" , "17" , "21" ],
434
434
),
435
435
type = attr .string ,
436
436
value_to_flag = None ,
@@ -442,7 +442,7 @@ default: 'first-only-warn' in language version 2.2+, 'first-only' in version 2.1
442
442
doc = """Compile against the specified JDK API version, similarly to javac's '-release'. This requires JDK 9 or newer.
443
443
The supported versions depend on the JDK used; for JDK 17+, the supported versions are 1.8 and 9–21.
444
444
This also sets the value of '-jvm-target' to be equal to the selected JDK version.""" ,
445
- values = ["1.6" , "1.8" , "9" , "10" , "11" , "12" , "13" , "15" , "16" , "17" ],
445
+ values = ["1.6" , "1.8" , "9" , "10" , "11" , "12" , "13" , "15" , "16" , "17" , "21" ],
446
446
),
447
447
type = attr .string ,
448
448
value_to_flag = None ,
0 commit comments