8068548: jdeps needs a different mechanism to recognize javax.jnlp as supported API jdk8u40-b21

Tue, 06 Jan 2015 14:20:47 -0800

author
mchung
date
Tue, 06 Jan 2015 14:20:47 -0800
changeset 2626
9113c7c8d902
parent 2625
56183cfc3c3e
child 2627
6fc251c9ebac

8068548: jdeps needs a different mechanism to recognize javax.jnlp as supported API
Reviewed-by: lancea, ddehaven

src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java file | annotate | diff | comparison | revisions
     1.1 --- a/src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java	Fri Jan 02 13:39:47 2015 -0800
     1.2 +++ b/src/share/classes/com/sun/tools/jdeps/PlatformClassPath.java	Tue Jan 06 14:20:47 2015 -0800
     1.3 @@ -155,7 +155,7 @@
     1.4           * Tests if a given package name is exported.
     1.5           */
     1.6          public boolean isExportedPackage(String pn) {
     1.7 -            if (Profile.getProfile(pn) != null) {
     1.8 +            if (Profile.getProfile(pn) != null || "javax.jnlp".equals(pn)) {
     1.9                  return true;
    1.10              }
    1.11              return exportedPackages.containsKey(pn) ? exportedPackages.get(pn) : false;

mercurial