Robert Muir created LUCENE-9622: ----------------------------------- Summary: provide gradle option to disable error-prone checker Key: LUCENE-9622 URL: https://issues.apache.org/jira/browse/LUCENE-9622 Project: Lucene - Core Issue Type: Improvement Reporter: Robert Muir
Trying to just run tests with the latest jdk16-ea, I can't do it because of bugs in "error-prone": {noformat} > Task :lucene:core:compileJava /home/rmuir/workspace/lucene-solr/lucene/core/src/java/org/apache/lucene/index/IndexWriter.java:3486: error: An unhandled exception was thrown by the Error Prone static analysis plugin. MergePolicy.MergeSpecification pointInTimeMerges = updatePendingMerges(new OneMergeWrappingMergePolicy(config.getMergePolicy(), toWrap -> ^ Please report this at https://github.com/google/error-prone/issues/new and include the following: error-prone version: 2.4.0 BugPattern: ParameterName Stack Trace: java.lang.NoSuchFieldError: reader at com.google.errorprone.util.ErrorProneTokens$CommentSavingTokenizer.processComment(ErrorProneTokens.java:85) at jdk.compiler/com.sun.tools.javac.parser.JavaTokenizer.readToken(JavaTokenizer.java:919) at jdk.compiler/com.sun.tools.javac.parser.Scanner.nextToken(Scanner.java:115) at com.google.errorprone.util.ErrorProneTokens.getTokens(ErrorProneTokens.java:57) at com.google.errorprone.util.ErrorProneTokens.getTokens(ErrorProneTokens.java:74) at com.google.errorprone.bugpatterns.ParameterName.checkArguments(ParameterName.java:97) at com.google.errorprone.bugpatterns.ParameterName.matchMethodInvocation(ParameterName.java:66) at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:451) {noformat} I really just want to run the tests, so for now I just commented it out locally. Let's provide an option as it seems it doesn't necessarily keep up with the JDK? Not sure what is going on with this thing. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org