changeset 2788:66b2ac8e2b6b

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 7845808098ea
children 63a9b573847d
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	Wed Dec 17 14:46:40 2014 -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;