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

update javax.sql classes to use try-with-resources

    • b132
    • generic
    • generic
    • Verified

      The files:

      src/share/classes/javax/sql/rowset/serial/SerialClob.java
      src/share/classes/javax/sql/rowset/spi/SyncFactory.java

      have several opportunities to use the new Java 7 try-with-resources feature. Using this feature will help ensure that resources are closed properly, especially in case exceptions are thrown. A couple related cleanups in these files are also necessary.

            smarks Stuart Marks
            smarks Stuart Marks
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: