Hi,

I filed PHOENIX-5855 <https://issues.apache.org/jira/browse/PHOENIX-5855> to
make the code more Java 8. This may apply to master branch only and Istvan
Toth expressed concern about backporting conflicts.

I guess this is the trade-off between embracing newer Java platform (Java 7
is EOL and will not be supported next year) and the effort of resolving
conflict if any when backporting.

The options are:

   1. get stuck in Java 7 for both master and all old branches. We are
   basically on this approach as I see Java 8 is used very sparingly in master
   branch
   2. use Java 8 in master branch extensively and take care of minor
   conflicts if any for all 4.x branches. Patch author can provide separate
   patch if conflict is major, or make changes with less conflict.
   3. bump 4.16 (or 4.15.1?) to Java 8. Backporting to older branches will
   still need some manual fix as above.

I think it is the right time for option 2 or 3. Thoughts?

Thanks,
-- 
L

Reply via email to