Lines Matching defs:version
6 * under the terms of the GNU General Public License version 2 only, as
12 * version 2 for more details (a copy is included in the LICENSE file that
15 * You should have received a copy of the GNU General Public License version
61 String version = "1.2.3.4";
64 .options("--module-version", version)
70 checkModuleVersion(classes.resolve("module-info.class"), version);
85 String version = "1.2.3.4";
89 "--module-version", version)
95 checkModuleVersion(classes.resolve("m1").resolve("module-info.class"), version);
96 checkModuleVersion(classes.resolve("m2").resolve("module-info.class"), version);
100 "--module-version", "b",
108 String expectedLog = "bad value for --module-version option: 'b'";
115 private void checkModuleVersion(Path classfile, String version) throws IOException, ConstantPoolException {
126 if (!version.equals(actualVersion)) {
127 throw new AssertionError("Incorrect version in the classfile: " + actualVersion);