uschindler commented on pull request #34:
URL: https://github.com/apache/lucene/pull/34#issuecomment-804866653


   > On the other hand, ECJ is a "compiler", but with a lot of nice checks. 
Maybe they are not as fancy as the kind of checks that error-prone might be 
able to do, instead they are simpler, more like "additional compiler warnings". 
We've used ECJ for a long time: It runs efficiently, has a TON more eyes 
looking at its output every day, and provides great error messages. IMO, for 
solving your problem of "my IDE can detect it is dead code, why doesn't the 
build", it is the perfect tool: since it is the thing doing that in your IDE 
(to my knowledge not just eclipse but intellij may use it too).
   
   I fully agree with that. I was also thinking about further improving compile 
time in Java by using ECJ as the official compiler and move it from "Lint" 
stage. We can maybe reimplement compileJava tasks in Gradle to use ECJ (maybe 
it works out of box!?). So people would see those errors as soon as they 
compile or run tests. ECJ is just an alternative compiler and may work as 
replacement for javac.
   
   This is no suggestion, but something to discuss on a separate issue.


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to