[ 
https://issues.apache.org/jira/browse/BEAM-13814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486779#comment-17486779
 ] 

Luke Cwik commented on BEAM-13814:
----------------------------------

We could have a Java 11 specific PreCommit.

Also, unless someone is using Java 11+, they won't be able to reproduce locally 
and only via PR so having a dedicated PreCommit might make sense for speed 
reasons.

> Run errorprone with Java 11 (required in 2.11.0 and newer)
> ----------------------------------------------------------
>
>                 Key: BEAM-13814
>                 URL: https://issues.apache.org/jira/browse/BEAM-13814
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Brian Hulette
>            Priority: P2
>
> errorprone 2.11.0 only supports JDK 11 (but can still validate Java 8 
> classes). We should find a way to upgrade errorprone while still supporting 
> Java 8. 
> Perhaps we could modify BeamModulePlugin to disable errorprone when building 
> with Java 8, and make sure that there's a Java 11 PreCommit that will run it?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to