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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P4
    • Resolution: Fixed
    • 8
    • 8
    • security-libs
    • b01
    • generic
    • generic
    • Verified

    Backports

      Description

        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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: