Should Java 11 be supported as a compile target?  I can compile the current master branch using Java 11 and run the result on Java 11.  But the target when it compiles is set to java 8.  I have some mailet code where I'd like to take advantage of some new classes and methods that are introduced in Java 11.  But the mailets have to be java 8 target as well or james won't start. I'm compiling for my own use on java 11.  So I don't need to support older versions with my builds.

I tried changing the target in pom.xml from 8 to 11 and got a compile error that it can't find javax.annotation.PreDestroy which is apparently removed after java 8.

If this is a quick fix to make it compile with java 11 target, and you don't think it will hurt anything else, I'll see if I can find alternatives so I can compile with java 11 target.

If the solution is not trivial, do you have an estimate as to when JAMES will fully support a java 11 compile?

Thx.

Jerry


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to