On Fri, 30 Nov 2018 at 19:25, Craig Pell <a...@erasurewars.net> wrote:
> Or am I misunderstanding the goal? Are you suggesting that future > versions of Ant should just be built with Java 9 (or later)? If so, > that would suggest that the "needs.jdk9+" selector is not needed, right? > I believe the goal is to compile Java 9+ classes when JRE 9+ is available, and thus avoid branching. So the selector only works when JRE 8 is used, which is the current baseline, but custom versions of Ant can be built. See https://builds.apache.org/view/A/view/Ant/job/Ant-Build-Matrix-master-Linux/