diff options
author | zpencer <spencerfang@google.com> | 2018-07-19 13:35:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 13:35:27 -0700 |
commit | 37e6f5f7757899a9026ffa9a72a805ce8179f18e (patch) | |
tree | 0d2e944d62ac5237ad5ec52144a47b3b8b8b6666 /.travis.yml | |
parent | 499f95d3ec2b5bdce29062de7d8c5b3e2cebfefc (diff) | |
download | grpc-grpc-java-37e6f5f7757899a9026ffa9a72a805ce8179f18e.tar.gz |
Fix jdk10 support in travis (#4653)
For jdk10: disable errorprone and fix javadoc warnings
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 9a385444d..d29b5ef4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,8 +40,15 @@ os: - linux jdk: - - oraclejdk8 - - oraclejdk9 + # net.ltgt.errorprone supports jdk8 and jdk9, but has problems with jdk10 + # For jdk10, we need to switch over to using net.ltgt.errorprone-javacplugin, + # and likely update to the latest com.google.errorprone:error_prone_core. + # We have decided not to make our build.gradle support both plugins, so when + # we finally move off of jdk8 and jdk9 we will need use the javac annotation + # processor based plugin. + - oraclejdk8 # if both jdk 8 and 9 are removed, migrate to net.ltgt.errorprone-javacplugin (see above comment) + - oraclejdk9 # if both jdk 8 and 9 are removed, migrate to net.ltgt.errorprone-javacplugin (see above comment) + - oraclejdk10 notifications: email: false |