Commit e22a4fb
authored
Bug/androidcrash (#1447)
* Add java tests to build path
to put the test in the appropriate directory, id have to java files to
grade build configs, because it currently only checks for kotlin tests.
* Unit test for rsrc leakage in unzip
create a temp zip file > create a destination that is a file not a
directory (guaranteed exception) -> unzip throws ioexception because it
expects a directory not a file -> catch it -> check if the zip file is
still open -> if true == leak.
* Add try() to manage opened files/rsrcs
* Applying try() to more rsrcs
Ive also removed the test since its OS specific, and new code is
supposed to be in kotlin.
* conditional for setting decorated only when the frame is displayable
* type
* Applying dispose before frame is displayable
Moved the undecorated setup to the very beginning of the Editor
constructor before any operations that could make the frame displayable
happened.1 parent 779a8af commit e22a4fb
1 file changed
+13
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
151 | 163 | | |
152 | 164 | | |
153 | 165 | | |
| |||
211 | 223 | | |
212 | 224 | | |
213 | 225 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
| 226 | + | |
218 | 227 | | |
219 | 228 | | |
220 | 229 | | |
| |||
0 commit comments