Commit dbf0cdf
Gary Gregory
[IO-764] IOUtils.write() throws
OutOfMemoryError/NegativeArraySizeException while writing big strings
Reuse solution.1 parent 7002bf2 commit dbf0cdf
2 files changed
Lines changed: 9 additions & 8 deletions
File tree
- src
- main/java/org/apache/commons/io
- test/java/org/apache/commons/io
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3193 | 3193 | | |
3194 | 3194 | | |
3195 | 3195 | | |
3196 | | - | |
| 3196 | + | |
3197 | 3197 | | |
3198 | 3198 | | |
3199 | 3199 | | |
| |||
3452 | 3452 | | |
3453 | 3453 | | |
3454 | 3454 | | |
3455 | | - | |
| 3455 | + | |
3456 | 3456 | | |
3457 | | - | |
| 3457 | + | |
3458 | 3458 | | |
3459 | 3459 | | |
3460 | 3460 | | |
| |||
3568 | 3568 | | |
3569 | 3569 | | |
3570 | 3570 | | |
| 3571 | + | |
3571 | 3572 | | |
3572 | 3573 | | |
3573 | | - | |
| 3574 | + | |
3574 | 3575 | | |
3575 | | - | |
| 3576 | + | |
3576 | 3577 | | |
3577 | 3578 | | |
3578 | 3579 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
601 | 601 | | |
602 | 602 | | |
603 | 603 | | |
604 | | - | |
| 604 | + | |
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
| |||
1662 | 1662 | | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | | - | |
| 1665 | + | |
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | | - | |
| 1679 | + | |
1680 | 1680 | | |
1681 | 1681 | | |
1682 | 1682 | | |
| |||
0 commit comments