commit | 5b0197d4c02c2fa6b8bae0b5a0be0761b5aee54d | [log] [tgz] |
---|---|---|
author | Lukas Jungmann <lukas.jungmann@oracle.com> | Mon Nov 06 10:39:39 2017 +0100 |
committer | Lukas Jungmann <lukas.jungmann@oracle.com> | Mon Nov 06 10:39:39 2017 +0100 |
tree | 77edf9e217ebb200d7ec78233f9fcbd5265fde30 | |
parent | 4d70cdd50d4a3d536407eaca29fd3234cdcc76fc [diff] |
[nobug] fix condition in sdo test compile util Signed-off-by: Lukas Jungmann <lukas.jungmann@oracle.com>
diff --git a/sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/util/CompileUtil.java b/sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/util/CompileUtil.java index 0b5c17b..ddce556 100644 --- a/sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/util/CompileUtil.java +++ b/sdo/eclipselink.sdo.test/src/org/eclipse/persistence/testing/sdo/util/CompileUtil.java
@@ -47,7 +47,7 @@ public int compile(String classpath, Object[] javaFiles) { args[4] = javaVersion; args[5] = "-target"; args[6] = javaVersion; - if (9 >= jv) { + if (jv >= 9) { args[7] = "--add-modules"; args[8] = "java.activation"; System.arraycopy(javaFiles, 0, args, 9, javaFiles.length);