https://bz.apache.org/bugzilla/show_bug.cgi?id=67538

Michael Osipov <micha...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |micha...@apache.org

--- Comment #2 from Michael Osipov <micha...@apache.org> ---
(In reply to Konstantin Kolinko from comment #1)
> It is supported in Ant 1.9 as well (since 1.9.10):
> https://ant.apache.org/manual-1.9.x/Tasks/conditions.html
> 
> Where do you want to place this test, and what version to check?

It should be tested right after
https://github.com/apache/tomcat/blob/29aaefd2944d6ec50505c21d6fd0346a71360388/build.xml#L41-L54

> 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?

One can also pass a JVM argument to <junit /> for another VM, not the one in
PATH as far as I can see.

Err, looking at
https://github.com/apache/tomcat/blob/15927d179401cbc7f82ef8ae1b7c01148b1177f1/build.xml#L1976-L1980
this is not the case anymore. So Java 11 or bust. This is what I have seen as a
failure for me when running Tomcat 9 with Java 8 at test time.

-- 
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

Reply via email to