Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #3738: javalib Files.createTemp*(bogusPath) no longer loops forever #3739

Conversation

LeeTibbert
Copy link
Contributor

Fix #3738

javalib Files.createTempFile and Files.createTempDirectory now throw an IoException when
invoked with a Path() to a location which does not exist, say "/+".

Each method has a simple unit-test case which must be invoked manually and does not run
in Continuous Integration.

@LeeTibbert
Copy link
Contributor Author

Looks ready for review when its turn comes around.

Three failures all look like usual suspects. That is my story and I am sticking to it.

@LeeTibbert LeeTibbert added component:javalib backport candidate PR which might be backported into previous major release of SN labels Feb 9, 2024
@WojciechMazur WojciechMazur merged commit 36509f7 into scala-native:main Feb 9, 2024
59 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport candidate PR which might be backported into previous major release of SN component:javalib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Infinite loops in javalib Files.createTempFile and createTempDirectory* methods
2 participants