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

(smartcardio) Card.disconnect(boolean reset) does not reset when reset is true

    XMLWordPrintable

Details

    • b16
    • generic
    • generic
    • Not verified

    Backports

      Description

        (Submitted via Bugzilla)
        Description From Frank Cornelis 2010-04-12 03:28:37 PDT

        The disconnect method of Card.java has a reset parameter which is used as
        follows:
        SCardDisconnect(cardId, (reset ? SCARD_LEAVE_CARD : SCARD_RESET_CARD));
        So if reset is true, the card is not being reset, if false, the card is being
        reset. Change the name of the variable, or fix the line of code?

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                valeriep Valerie Peng
                Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: