changeset 2664:9113c7c8d902 jdk8u40-b21

8068548: jdeps needs a different mechanism to recognize javax.jnlp as supported API Reviewed-by: lancea, ddehaven
author mchung
date Tue, 06 Jan 2015 14:20:47 -0800
parents 56183cfc3c3e
children 6fc251c9ebac
files src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java	Fri Jan 02 13:39:47 2015 -0800
+++ b/src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java	Tue Jan 06 14:20:47 2015 -0800
@@ -155,7 +155,7 @@
          * Tests if a given package name is exported.
          */
         public boolean isExportedPackage(String pn) {
-            if (Profile.getProfile(pn) != null) {
+            if (Profile.getProfile(pn) != null || "javax.jnlp".equals(pn)) {
                 return true;
             }
             return exportedPackages.containsKey(pn) ? exportedPackages.get(pn) : false;