This is a non functional change task.
I have already commited some such changes for OFBIZ-8115 and at r1759082
Using try-with-resources with JDBC objects
Software not usable all standard installs failed
Changes in SagePayServices class, including use of "try-with-resources statement" and formatting at r1759944
Next step is to have EntityListIterator to implement AutoCloseable, fortunately it has a clean close() method, so it's more about where it's used...
Done for the accounting component at r1761047
This is finally done with r1787949
I fixed an issue (reported by Daniel Coric on user ML) introduced by r1787949, with another similar, in the R16.11 branch with revision: 1798179
The OFBIZ-9410.patch should be used to fix the issue introduced by r1787949 reported by Daniel Coric on user ML It concerns only the 16.11.02 release.