4867890: Clarify the return value/exception for java.security.SignedObject.verify
authormullan
Wed, 16 Jul 2014 08:06:40 -0400
changeset 25524 e623ca817d50
parent 25522 10d789df41bb
child 25525 4ef885b4c7c6
4867890: Clarify the return value/exception for java.security.SignedObject.verify Reviewed-by: weijun
jdk/src/share/classes/java/security/SignedObject.java
--- a/jdk/src/share/classes/java/security/SignedObject.java	Tue Jul 15 11:22:14 2014 -0700
+++ b/jdk/src/share/classes/java/security/SignedObject.java	Wed Jul 16 08:06:40 2014 -0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -211,7 +211,9 @@
      * @param verificationKey the public key for verification.
      * @param verificationEngine the signature verification engine.
      *
-     * @exception SignatureException if signature verification failed.
+     * @exception SignatureException if signature verification failed (an
+     *     exception prevented the signature verification engine from completing
+     *     normally).
      * @exception InvalidKeyException if the verification key is invalid.
      *
      * @return {@code true} if the signature