graalvm / native-build-tools

Native-image plugins for various build tools
https://graalvm.github.io/native-build-tools/
Other
366 stars 57 forks source link

Fix compile-no-fork with existing jar FileSystems (#547) #548

Closed kohlschuetter closed 8 months ago

kohlschuetter commented 9 months ago

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.

oracle-contributor-agreement[bot] commented 9 months ago

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.

kohlschuetter commented 9 months ago

OCA signed.

oracle-contributor-agreement[bot] commented 9 months ago

Thank you for signing the OCA.