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
41 * Main class to verify if ModuleDescriptor carries the correct version
46 // jdk.test.Main $count $module-name... $version...
56 System.out.format("module %s expects %s version%n",
80 checkVersion(descriptor.name(), descriptor.version());
87 static void checkVersion(String mn, Optional<ModuleDescriptor.Version> version) {
90 if (version.isPresent()) {
91 matched = version.get().toString().equals(v);
93 // 0 indicate no version
98 throw new RuntimeException(mn + " mismatched version " + version