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

InvalidClassException in JceKeyStore.engineLoad() loses original cause.

    Details

    • Subcomponent:
    • Understanding:
      Fix Understood
    • CPU:
      generic
    • OS:
      generic

      Description

      A DESCRIPTION OF THE PROBLEM :
      At the end of JceKeyStore's engineLoad method there's this bit of code:

                    } catch (InvalidClassException ice) {
                      throw new IOException("Invalid secret key format");

      note how the text from InvalidClassException which has only constructors with messages is completely ignored.


      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              dkejriwal Deepak Kejriwal (Inactive)
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: