The GitHub Actions job "Java CI with Gradle" on ofbiz-framework.git/OFBIZ-13399-try-with-resource has failed. Run started by GitHub user dixitdeepak (triggered by dixitdeepak).
Head commit for run: b7be0dcc2c0dc31c83fe7118992df73e923fd3cc / Deepak Dixit <[email protected]> Refactor Groovy EntityListIterator usage with auto-closeable handling (OFBIZ-13399) Updated Groovy files to use safer resource management patterns for EntityListIterator. - Replaced manual iterator close handling with try-with-resources style implementations where applicable - Used Groovy withCloseable for automatic resource cleanup - Replaced EntityListIterator usage with EntityQuery.queryPagedList() where only partial/paged results were required - Removed unnecessary manual close() calls - Reduced risk of JDBC cursor and ResultSet resource leaks - Improved readability and aligned code with modern OFBiz best practices Changes were applied to Groovy files; full regression testing has not yet been completed for all updated flows. Report URL: https://github.com/apache/ofbiz-framework/actions/runs/25435613227 With regards, GitHub Actions via GitBox
