hotspot/test/runtime/getSysPackage/GetSysPkgTest.java
changeset 37773 e5b3e9732c3c
parent 36508 5f9eee6b383b
child 38207 2ed792c9481d
--- a/hotspot/test/runtime/getSysPackage/GetSysPkgTest.java	Wed Jul 05 21:39:33 2017 +0200
+++ b/hotspot/test/runtime/getSysPackage/GetSysPkgTest.java	Tue May 03 09:09:20 2016 +0100
@@ -119,9 +119,9 @@
         getPkg("java/nio/charset", "jrt:/java.base");
 
         // Test a package in a module not owned by boot loader.
-        Class clss = Class.forName("javax.activation.DataHandler");
+        Class clss = Class.forName("jdk.nio.zipfs.ZipPath");
         if (clss == null)
-            throw new RuntimeException("Could not find class javax.activation.DataHandler");
+            throw new RuntimeException("Could not find class jdk.nio.zipfs.ZipPath");
         getPkg("javax/activation", null);       // Not owned by boot loader
 
         // Test a package not in jimage file.