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

exception message is missing space

XMLWordPrintable

    • beta
    • x86
    • windows_xp
    • Verified

      In SunPKCS11.java, around line 139:

      if (slotID < 0) {
          int index = config.getSlotListIndex();
          if ((index < 0) || (index >= slots.length)) {
      throw new ProviderException("slotListIndex is " + index
      + " but token only has " + slots.length + "slots");
          }
          slotID = slots[index];
      }

      The exception message should have a space between slots.length and "slots".
      So it should be
      slots.length + " slots"

      I got this exception before my smartcard was correctly set up. After the
      set up, I can't reproduce this exception any more. But the message should
      be fixed.

      ###@###.### 2004-03-18

            andreas Andreas Sterbenz
            nwangsunw Nathan Wang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: