diff -r eaa406097d93 -r 18a4438eb690 src/java.base/share/classes/sun/security/provider/PolicyFile.java --- a/src/java.base/share/classes/sun/security/provider/PolicyFile.java Wed Dec 06 13:47:35 2017 +0100 +++ b/src/java.base/share/classes/sun/security/provider/PolicyFile.java Wed Dec 06 14:33:33 2017 +0000 @@ -512,7 +512,8 @@ } } catch (Exception e) { if (debug != null) { - debug.println("error reading policy "+e); + debug.println( + "Debug info only. Error reading policy " +e); e.printStackTrace(); } // ignore that policy @@ -559,6 +560,7 @@ } catch (Exception e) { // ignore, treat it like we have no keystore if (debug != null) { + debug.println("Debug info only. Ignoring exception."); e.printStackTrace(); } }