Commit 2bc6976
Fix compile-no-fork with existing jar FileSystems (#547)
FileSystems.newFileSystem on a dependency jar fails with a
FileSystemAlreadyExistsException if another Maven plugin has already
created it.
Provide a wrapper that handles the exception, trying
FileSystems.getFileSystem in that case.1 parent 0db3e00 commit 2bc6976
File tree
1 file changed
+12
-1
lines changed- native-maven-plugin/src/main/java/org/graalvm/buildtools/maven
1 file changed
+12
-1
lines changedLines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
296 | 307 | | |
297 | 308 | | |
298 | 309 | | |
299 | 310 | | |
300 | 311 | | |
301 | 312 | | |
302 | | - | |
| 313 | + | |
303 | 314 | | |
304 | 315 | | |
305 | 316 | | |
| |||
0 commit comments