--- old/src/jdk.jartool/share/classes/sun/tools/jar/Main.java 2017-02-07 13:13:52.419548561 +0000 +++ new/src/jdk.jartool/share/classes/sun/tools/jar/Main.java 2017-02-07 13:13:52.251537023 +0000 @@ -699,7 +699,7 @@ } String pn = toPackageName(name); // add if this is a class or resource in a package - if (Checks.isJavaIdentifier(pn)) { + if (Checks.isPackageName(pn)) { packages.add(pn); } } @@ -1995,7 +1995,7 @@ } // get a resolved module graph Configuration config = - Configuration.empty().resolveRequires(system, finder, roots); + Configuration.empty().resolve(system, finder, roots); // filter modules resolved from the system module finder this.modules = config.modules().stream()