Michael McCandless created LUCENE-6128:
------------------------------------------
Summary: Add stricter ant/build option for developers?
Key: LUCENE-6128
URL: https://issues.apache.org/jira/browse/LUCENE-6128
Project: Lucene - Core
Issue Type: Improvement
Reporter: Michael McCandless
Can we add a build option (-Dpendantic=true) that is more anal?
E.g. on backporting a change from trunk (java 8) to 5.x (java 7) I very rarely
remember to "use java 7" to compile/test. Sure, we set javac.source/target to
1.7, but that's not perfect (e.g. an interface w/ a default method as of java
8).
With this option set we could do things like require you are using java 7 on
5.x, fail on warnings, etc.
Casual users/developers can then still use java 8 to run tests, etc. (the
option would default to off).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]