JDK-8144048 : Release note for JDK-8049250
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.smartcardio
  • Priority: P4
  • Status: Closed
  • Resolution: Not an Issue
  • Submitted: 2015-11-25
  • Updated: 2016-04-20
  • Resolved: 2016-04-20
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8u40Resolved
Related Reports
Duplicate :  
Description
With https://bugs.openjdk.java.net/browse/JDK-7047033 a long standing bug was fixed.
That fix inverted the logic of the argument of Card.disconnect(boolean reset) function.

As this is a change in behavior, an option is introduced, which can be used to revert to the old broken behavior.
 
The option sun.security.smartcardio.invertCardReset will be used to manipulate the way the disconnect method treats its argument.
 
This option will only be recognized by JDK 7uX and 8uX.
 
If the option is set to true, it will invert the logic/treatment of the "reset" argument of Card.disconnect(boolean) call.
 
With the proposed default value for this option, essentially JDK 7uX will maintain the same broken behavior (unless users explicitly override the option to "false"). As for JDK 8uX, the default behavior will be correct and users can set this option to true to revert back to the broken behavior if necessary.
Comments
The release notes has already been published at http://www-content.oracle.com/technetwork/java/javase/8u20-relnotes-2257729.html?SSContributor=true http://www-content.oracle.com/technetwork/java/javase/7u72-relnotes-2296190.html?SSContributor=true See the comments here: https://bugs.openjdk.java.net/browse/JDK-8050495#comment-13559746
20-04-2016