changeset 10993:46491264f585

Look for class jdk.nio.zipfs.ZipPath" because class "javax.activation.DataHandler" is no longer observable.
author hseigel
date Fri, 08 Apr 2016 15:37:12 -0400
parents 99c248ee81f2
children 74b5aac10b48
files test/runtime/getSysPackage/GetSysPkgTest.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/getSysPackage/GetSysPkgTest.java	Fri Apr 08 10:55:39 2016 +0100
+++ b/test/runtime/getSysPackage/GetSysPkgTest.java	Fri Apr 08 15:37:12 2016 -0400
@@ -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.