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:
@@ -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],
|
||||||
|
|||||||
Reference in New Issue
Block a user