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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: