Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8153531

Improve exception messaging for RSAClientKeyExchange

    Details

    • Subcomponent:
    • Resolved In Build:
      b114
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Recent edits in RSAClientKeyExchange class made me realise that the exception handling could be more descriptive for end user. We hide root case for one scenario with the infamous "Unable to process PreMasterSecret, may be too big" message. We should be printing the exception that caused the InvalidKeyException to occur.

        I'll take this chance to made a few other minor edits in RSAClientKeyExchange and HandshakeMessage code also.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/0b18ad7184bc
          User: coffeys
          Date: 2016-04-07 09:12:12 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/0b18ad7184bc User: coffeys Date: 2016-04-07 09:12:12 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0b18ad7184bc
          User: lana
          Date: 2016-04-13 17:56:05 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/0b18ad7184bc User: lana Date: 2016-04-13 17:56:05 +0000

            People

            • Assignee:
              coffeys Sean Coffey
              Reporter:
              coffeys Sean Coffey
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: