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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b16
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

            There are no Sub-Tasks for this issue.

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: