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

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: