Add JDK 17 target (#9802)

* add JDK 17 target
pull/9621/head^2
Elliotte Rusty Harold 3 years ago committed by GitHub
parent 46ae74c55c
commit cc8ae4c154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      tests.sh

@ -190,6 +190,10 @@ build_golang() {
use_java() { use_java() {
version=$1 version=$1
case "$version" in case "$version" in
jdk17)
export PATH=/usr/lib/jvm/java-17-openjdk-amd64/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
;;
jdk11) jdk11)
export PATH=/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH export PATH=/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
@ -276,6 +280,11 @@ build_java_jdk8() {
build_java_with_conformance_tests build_java_with_conformance_tests
} }
build_java_jdk17() {
use_java jdk17
build_java_with_conformance_tests
}
build_java_linkage_monitor() { build_java_linkage_monitor() {
# Linkage Monitor checks compatibility with other Google libraries # Linkage Monitor checks compatibility with other Google libraries
# https://github.com/GoogleCloudPlatform/cloud-opensource-java/tree/master/linkage-monitor # https://github.com/GoogleCloudPlatform/cloud-opensource-java/tree/master/linkage-monitor
@ -586,6 +595,7 @@ Usage: $0 { cpp |
java_jdk7 | java_jdk7 |
java_oracle7 | java_oracle7 |
java_jdk8 | java_jdk8 |
java_jdk17 |
java_linkage_monitor | java_linkage_monitor |
objectivec_ios | objectivec_ios |
objectivec_ios_debug | objectivec_ios_debug |

Loading…
Cancel
Save