diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-11-03 01:31:05 +0000 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-11-03 01:31:05 +0000 |
commit | 5182d2c398a07f65f2b2334bc04d79130a40808c (patch) | |
tree | 613ad44687c87f81f616c35ab0705b9f4335e419 | |
parent | 4ba9e1d0058bc1710a0078af6e9a1f7e4bee986a (diff) | |
download | unit-5182d2c398a07f65f2b2334bc04d79130a40808c.tar.gz unit-5182d2c398a07f65f2b2334bc04d79130a40808c.tar.bz2 |
Tests: force applications to build for JVM 8.
This change is made to avoid situations when an application
is compiled for a version newer than the Java module used.
-rw-r--r-- | test/unit/applications/lang/java.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py index b57d48bf..e1bd5e0c 100644 --- a/test/unit/applications/lang/java.py +++ b/test/unit/applications/lang/java.py @@ -64,6 +64,7 @@ class TestApplicationJava(TestApplicationProto): javac = [ 'javac', + '-target', '8', '-source', '8', '-nowarn', '-encoding', 'utf-8', '-d', classes_path, '-classpath', classpath + ':' + ws_jars[0], |