--- a/jdk/test/tools/pack200/PackageVersionTest.java Tue Nov 18 15:25:16 2014 -0800
+++ b/jdk/test/tools/pack200/PackageVersionTest.java Wed Dec 03 14:22:58 2014 +0000
@@ -54,10 +54,6 @@
public final static int JAVA7_PACKAGE_MINOR_VERSION = 1;
public static void main(String... args) throws IOException {
- if (!javaHome.getName().endsWith("jre")) {
- throw new RuntimeException("Error: requires an SDK to run");
- }
-
File out = new File("test.pack");
createClassFile("Test6");
createClassFile("Test7");