Skip to content

Return configured block size from FileStore.getBlockSize(). - #513

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_972606990
Aug 31, 2026
Merged

Return configured block size from FileStore.getBlockSize().#513
copybara-service[bot] merged 1 commit into
masterfrom
test_972606990

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Return configured block size from FileStore.getBlockSize().

Jimfs stored the block size on HeapDisk but never overrode
FileStore.getBlockSize(), so JDK 10+ callers got UnsupportedOperationException
even after Configuration.setBlockSize().

Fixes #183
Fixes #511

RELNOTES=n/a

Jimfs stored the block size on HeapDisk but never overrode
`FileStore.getBlockSize()`, so JDK 10+ callers got `UnsupportedOperationException`
even after `Configuration.setBlockSize()`.

Fixes #183
Fixes #511

RELNOTES=n/a
PiperOrigin-RevId: 973967059
@copybara-service
copybara-service Bot merged commit 9b4b445 into master Aug 31, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_972606990 branch August 31, 2026 17:49
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.

FileStore.getBlockSize() should return the configuration block size

1 participant