--- a/langtools/src/share/classes/com/sun/tools/jdeps/Profile.java Mon Oct 28 12:29:34 2013 -0700
+++ b/langtools/src/share/classes/com/sun/tools/jdeps/Profile.java Wed Oct 30 08:35:52 2013 -0700
@@ -81,8 +81,12 @@
}
static class PackageToProfile {
+ static String[] JAVAX_CRYPTO_PKGS = new String[] {
+ "javax.crypto",
+ "javax.crypto.interfaces",
+ "javax.crypto.spec"
+ };
static Map<String, Profile> map = initProfiles();
-
private static Map<String, Profile> initProfiles() {
try {
String profilesProps = System.getProperty("jdeps.profiles");
@@ -103,6 +107,9 @@
findProfile(cf);
}
}
+ // special case for javax.crypto.* classes that are not
+ // included in ct.sym since they are in jce.jar
+ Collections.addAll(Profile.COMPACT1.packages, JAVAX_CRYPTO_PKGS);
}
}
} catch (IOException | ConstantPoolException e) {