jdk/test/tools/pack200/PackageVersionTest.java
changeset 27565 729f9700483a
parent 25412 2954aa6b7e34
--- 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");