Null-check-in-finally pattern in java/security documentation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: security-libs
    • b01
    • generic
    • generic
    • Verified

        The examples in the class summary for java.security.KeyStore, java.security.cert.X509CRL, and java.security.cert.X509Certificate contain misleading advice concerning closing file descriptors. See the discussion at http://mail.openjdk.java.net/pipermail/security-dev/2011-June/003344.html for more information. The examples should be changed to use the JDK 7 try-with-resources feature.

              Assignee:
              Sean Mullan
              Reporter:
              Sean Mullan
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: