https://bz.apache.org/bugzilla/show_bug.cgi?id=67538
--- Comment #5 from Michael Osipov <micha...@apache.org> --- (In reply to Christopher Schultz from comment #3) > (In reply to Michael Osipov from comment #2) > > > Compilation is expected to be done with Java 11, but tests can be run with > > > an earlier version, IIRC. > > > > This seems to be a good point, toolchains missing here. > > Should it go like: > > JAVA_VERSION=11 ant compile > > JAVA_VERSION=8 ant test > > ? Does one use this? > > This is what I do for 8.5: build using Java 11 and run all testing using > Java 8. > > I set JAVA_HOME and run "ant test". > > https://github.com/ChristopherSchultz/apache-tomcat-stuff/blob/master/bin/ > test-tomcat-release.sh > > > So Java 11 or bust. > > Java 11 is only required for the build. For testing you can: > > https://github.com/ChristopherSchultz/apache-tomcat-stuff/blob/master/bin/ > test-tomcat-release.sh#L269-L279 Wow, hacky. With this possible, how one enforce the build JDK version of 11 if you stil want to use 8 to test? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org