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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: security-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      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

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

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: