Abnaxos / meldioc

A prototype of an IoC (Inversion of Control) library for Java
MIT License
5 stars 1 forks source link

Check for Java >11 #85

Closed Abnaxos closed 3 years ago

Abnaxos commented 3 years ago

My guess is that currently, if you set -source 14 -target 14, the Java compiler will complain about the annotation processor not supporting Java 14. This isn't entirely true, because it should work without modification (except the reported Java source version). However, I'm not sure what happens if the processor reports language level 14 and javac is invoked with -source 11 -target 11. This should be supported as well, as currently, Meld doesn't use any Java 14 features.

Given that this Meld is under early development, I see no problem with moving to Java 14 (there's no need for it, though). But the general problem remains: the annotation processor should be able to support a range of language levels.