--- old/test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarSecurity.java 2018-01-30 10:43:47.533279207 -0800 +++ new/test/jdk/java/util/jar/JarFile/mrjar/MultiReleaseJarSecurity.java 2018-01-30 10:43:47.169279191 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -23,7 +23,7 @@ /* * @test - * @bug 8132734 8144062 + * @bug 8132734 8144062 8194070 * @summary Test potential security related issues * @library /lib/testlibrary/java/util/jar * @build Compiler JarBuilder CreateMultiReleaseTestJars @@ -48,7 +48,7 @@ public class MultiReleaseJarSecurity { - static final int MAJOR_VERSION = Runtime.version().major(); + static final int MAJOR_VERSION = Math.min(Runtime.version().major(), 10); String userdir = System.getProperty("user.dir","."); File multirelease = new File(userdir, "multi-release.jar");