Skip to content

Conversation

@LeeTibbert
Copy link
Contributor

@LeeTibbert LeeTibbert commented Oct 3, 2025

kitbellew kindly noticed that changes to java.io.RandomAccessTest Test canNotOpenReadOnlyFileForWrite
did not make sense. Those changes were introduced in PR #4474.

Re-work that dottiness to:

  1. make it clear that the change is required for Windows.
    Linux & macOS do not require the change in file protection.
    Making the protection change explicit makes the logic easier
    to follow without knowing specific os pecularities.

  2. restore the prior and correct try/finally block structure.

My thanks to kitbellew for the discovery & report.

@LeeTibbert LeeTibbert changed the title Revert recent dottiness in java.io.RandomAccessTest Re-work recent dottiness in java.io.RandomAccessTest Oct 3, 2025
LeeTibbert referenced this pull request Oct 3, 2025
* Update run-jdk-compliance-tests workflow to JDK 25 LTS

* Touch-up tests for JDK 25
@WojciechMazur WojciechMazur merged commit 41d4f2f into scala-native:main Oct 4, 2025
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants