Release Note: Protected javax.crypto.Cipher Constructor Throws IAE for Non-null Invalid Arguments

XMLWordPrintable

    • generic
    • generic
    • Verified

      The protected constructor of `javax.crypto.Cipher` has been changed to throw `IllegalArgumentException` instead of `NullPointerException` if the supplied arguments are deemed invalid for constructing the `Cipher` object. If the provider argument is null, the constructor will throw `NullPointerException` as before. Both exceptions are now documented in the javadoc specification of the protected constructor.

            Assignee:
            Valerie Peng
            Reporter:
            Valerie Peng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: