Don't work-around OS X card state
Status: Beta
Brought to you by:
woj76
This is a philosophical thing, but IMHO you should probably revert change #21, which purports to work-around MacOS X not reporting all cards available.
This is actually a bug in the MacOS X JDK. If you run the JVM in 32 bit mode, this problem does not occur.
IMHO, the correct behavior is to make Apple fix the 64 bit JRE rather than introduce this workaround, as it might cause breakage elsewhere. Instead, I would release-note the known 64 bit JVM issue on the mac.
For what it's worth, I have opened Apple Radar # 7654842 on this. I suspect that I'm not the first and thus this will be rather quickly marked as a duplicate.
Apple is known to ship broken smart card software (pcsc-lite in leopard was horribly broken in many ways for several OSX releases) so I'm not so sure they will rush to fix it. But I agree, that the *right thing* would be getting it fixed in osx java.