src/java.base/share/classes/sun/security/provider/AuthPolicyFile.java
changeset 48080 18a4438eb690
parent 47478 438e0c9f2f17
equal deleted inserted replaced
48079:eaa406097d93 48080:18a4438eb690
   185                 inStream.close();
   185                 inStream.close();
   186                 return ks;
   186                 return ks;
   187             } catch (Exception e) {
   187             } catch (Exception e) {
   188                 // ignore, treat it like we have no keystore
   188                 // ignore, treat it like we have no keystore
   189                 if (debug != null) {
   189                 if (debug != null) {
       
   190                     debug.println("Debug info only. No keystore.");
   190                     e.printStackTrace();
   191                     e.printStackTrace();
   191                 }
   192                 }
   192                 return null;
   193                 return null;
   193             }
   194             }
   194         }
   195         }
   259                 }
   260                 }
   260                 init(new URL(policy_url));
   261                 init(new URL(policy_url));
   261                 loaded_one = true;
   262                 loaded_one = true;
   262             } catch (Exception e) {
   263             } catch (Exception e) {
   263                 if (debug != null) {
   264                 if (debug != null) {
   264                     debug.println("error reading policy " + e);
   265                     debug.println("Debug info only. Error reading policy " + e);
   265                     e.printStackTrace();
   266                     e.printStackTrace();
   266                 }
   267                 }
   267                 // ignore that policy
   268                 // ignore that policy
   268             }
   269             }
   269             n++;
   270             n++;