8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @bug 8067437 27 * @summary Verify Multiple JRE version support has been removed. 28 * @build TestHelper 29 * @run main MultipleJRERemoved 30 */ 31 32 import java.io.File; 33 import java.io.FileOutputStream; 34 import java.io.IOException; 35 import java.nio.file.Files; 36 import java.util.*; 37 import java.util.jar.Attributes; 38 import java.util.jar.JarOutputStream; 39 import java.util.jar.Manifest; 40 import java.util.regex.Pattern; 41 import java.util.stream.Collectors; 42 import java.util.stream.Stream; 43 import java.util.zip.ZipEntry; 44 45 public class MultipleJRERemoved extends TestHelper { 46 47 public static final String VERSION_JAR = "version.jar"; | 8 * 9 * This code is distributed in the hope that it will be useful, but WITHOUT 10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 12 * version 2 for more details (a copy is included in the LICENSE file that 13 * accompanied this code). 14 * 15 * You should have received a copy of the GNU General Public License version 16 * 2 along with this work; if not, write to the Free Software Foundation, 17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 18 * 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 20 * or visit www.oracle.com if you need additional information or have any 21 * questions. 22 */ 23 24 /** 25 * @test 26 * @bug 8067437 27 * @summary Verify Multiple JRE version support has been removed. 28 * @modules jdk.compiler 29 * jdk.zipfs 30 * @build TestHelper 31 * @run main MultipleJRERemoved 32 */ 33 34 import java.io.File; 35 import java.io.FileOutputStream; 36 import java.io.IOException; 37 import java.nio.file.Files; 38 import java.util.*; 39 import java.util.jar.Attributes; 40 import java.util.jar.JarOutputStream; 41 import java.util.jar.Manifest; 42 import java.util.regex.Pattern; 43 import java.util.stream.Collectors; 44 import java.util.stream.Stream; 45 import java.util.zip.ZipEntry; 46 47 public class MultipleJRERemoved extends TestHelper { 48 49 public static final String VERSION_JAR = "version.jar"; |