ASF Bugzilla – Attachment 37550 Details for
Bug 64879
SXSSFSheet dispose() fails to remove Temporary files for java.io.IOException: No space left on device
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
SXSSFSheet patch
SXSSFSheet_dispose.patch (text/plain), 927 bytes, created by
Shawn Boyce
on 2020-11-07 00:26:27 UTC
(
hide
)
Description:
SXSSFSheet patch
Filename:
MIME Type:
Creator:
Shawn Boyce
Created:
2020-11-07 00:26:27 UTC
Size:
927 bytes
patch
obsolete
>Index: src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java >IDEA additional info: >Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP ><+>UTF-8 >=================================================================== >--- src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java (revision 9e5790d00453160d6072f91989e769bd1c87f30f) >+++ src/ooxml/java/org/apache/poi/xssf/streaming/SXSSFSheet.java (date 1604708530365) >@@ -1908,10 +1908,15 @@ > * @return true if the file was deleted, false if it wasn't. > */ > boolean dispose() throws IOException { >- if (!allFlushed) { >- flushRows(); >+ boolean ret; >+ try { >+ if (!allFlushed) { >+ flushRows(); >+ } >+ } finally { >+ ret = _writer == null || _writer.dispose(); > } >- return _writer == null || _writer.dispose(); >+ return ret; > } > > @Override
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 64879
:
37549
| 37550