Branch: refs/heads/jlr
  Home:   https://github.com/jenkinsci/genexus-plugin
  Commit: 4df4be1a0af93f6939db52b40763608dbc2c8504
      
https://github.com/jenkinsci/genexus-plugin/commit/4df4be1a0af93f6939db52b40763608dbc2c8504
  Author: jlr <j...@genexus.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M src/main/java/org/jenkinsci/plugins/genexus/helpers/XMLStreamWriterEx.java
    M src/main/java/org/jenkinsci/plugins/genexus/server/CreateLogTask.java
    M src/main/java/org/jenkinsci/plugins/genexus/server/GXSChangeLogParser.java

  Log Message:
  -----------
  [JENKINS-67957] Fix file handle leaks

XmlStreamWriterEx:
   - implements AutoCloseable.
   - newInstance() receives OutputStream instead of creating it from File, so 
that the caller has a chance to (and is responsible for) close it.
   - close() methods declare more specific XMLStreamException.
   - added justification for FinBugs warning exclusions.
CreateLogTask:
   - writeLog() make sure to close FileOutputStream and XMlStreamWriter.
   - added justification for FinBugs warning exclusions.
GXSChangeLogParser:
   - parse() make sure to close FileInputStream


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/genexus-plugin/push/refs/heads/jlr/7ea4de-4df4be%40github.com.

Reply via email to