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.
This commit is contained in:
Andrei Zeliankou
2020-11-03 01:31:05 +00:00
parent 4ba9e1d005
commit 5182d2c398

View File

@@ -64,6 +64,7 @@ class TestApplicationJava(TestApplicationProto):
javac = [ javac = [
'javac', 'javac',
'-target', '8', '-source', '8', '-nowarn',
'-encoding', 'utf-8', '-encoding', 'utf-8',
'-d', classes_path, '-d', classes_path,
'-classpath', classpath + ':' + ws_jars[0], '-classpath', classpath + ':' + ws_jars[0],