rmuir commented on PR #11944: URL: https://github.com/apache/lucene/pull/11944#issuecomment-1317529801
If it works, build should fail and look like this: ``` > Task :lucene:core:compileTestJava FAILED /home/rmuir/workspace/lucene/lucene/core/src/test/org/apache/lucene/TestDemo.java:76: warning: [ConstantOverflow] Compile-time constant expression overflows long x = Integer.MAX_VALUE * Integer.MAX_VALUE; ^ (see https://errorprone.info/bugpattern/ConstantOverflow) error: warnings found and -Werror specified Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error 1 warning FAILURE: Build failed with an exception. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org