Commit f5524f0
fix PropertyListSerializationTest file handle leak on Windows
Parser(File) left the FileInputStream open after parsing, preventing
@tempdir cleanup on Windows (file locked by another process).
Open the stream explicitly in propertyListFromFile so it is closed
via try-with-resources after parsing completes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 0c56174 commit f5524f0
1 file changed
Lines changed: 9 additions & 1 deletion
File tree
- modeler/cayenne-wocompat/src/main/java/org/apache/cayenne/wocompat
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
67 | 75 | | |
68 | 76 | | |
69 | 77 | | |
| |||
0 commit comments