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

Kevin Risden commented on HBASE-21895:
--------------------------------------

Sadly there isn't a way in maven to chain two profiles together. We can follow 
the errorprone docs, but I don't know if that means that the jdk9 compiler will 
be picked up by default when using JDK 8. 

Currently, when compiling with errorProne profile on JDK 11 there is an error. 
We could just not allow running errorProne on JDK 9+?. 

> Take more care on the error prone plugin and warnings
> -----------------------------------------------------
>
>                 Key: HBASE-21895
>                 URL: https://issues.apache.org/jira/browse/HBASE-21895
>             Project: HBase
>          Issue Type: Umbrella
>          Components: build
>            Reporter: Duo Zhang
>            Assignee: Kevin Risden
>            Priority: Major
>         Attachments: HBASE-21895.master.001.patch, 
> HBASE-21895.master.002.patch, HBASE-21895.master.003.patch
>
>
> As shown in HBASE-21890 , the error prone warnings are truly useful.
> But now, the javac warnings section in the pre commit result is messed up, it 
> always reports unrelated warnings. Need to take a look at it.
> And also, we should try out best to clean up the warnings.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to