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
27 * @summary Test that StandardJavaFileManager uses the correct version of a
61 "package version;\n" +
70 "package version;\n" +
74 " int version = (new PackagePrivate()).getVersion();\n" +
75 " if (version == 9) return 9;\n" +
76 " return version;\n" +
81 "package version;\n" +
90 "package version;\n" +
135 .files("version/Version.class",
136 "META-INF/versions/9/version/Version.class",
137 "META-INF/versions/9/version/PackagePrivate.class",
138 "META-INF/versions/10/version/Version.class")
145 "classes/META-INF/versions/10/version/Version.class",
146 "classes/META-INF/versions/10/version",
148 "classes/META-INF/versions/9/version/Version.class",
149 "classes/META-INF/versions/9/version/PackagePrivate.class",
150 "classes/META-INF/versions/9/version",
154 "classes/version/Version.class",
155 "classes/version",
167 {"runtime", Runtime.version().major()}
172 public void test(String version, int expected) throws Throwable {
176 if (version.length() > 0) {
177 jfm.handleOption("--multi-release", List.of(version).iterator());
181 Class<?> versionClass = cldr.loadClass("version.Version");