--- old/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Module.java 2016-10-19 15:16:38.000000000 -0700 +++ new/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/Module.java 2016-10-19 15:16:38.000000000 -0700 @@ -126,12 +126,13 @@ * Tests if the package of the given name is exported. */ public boolean isExported(String pn) { - if (JDK_UNSUPPORTED.equals(this.name())) { - return false; - } return exports.containsKey(pn) ? exports.get(pn).isEmpty() : false; } + public boolean isJDKUnsupported() { + return JDK_UNSUPPORTED.equals(this.name()); + } + /** * Converts this module to a strict module with the given dependences *