JDK-7047033 changed the behavior of the Card.disconnect() function.
There should be a flag provided which can be used to restore the old behavior.
This flag will be used:
in jdk7 - set by default, so by default the behavior is old.
in jdk8 - unset by default, so the behavior is new.
in jdk9 - the flag is ignored, the behavior is new.