Skip to content

FileHandle creates an empty file when trying to read from non-existing file #329

Closed
@gab1one

Description

@gab1one

If we try to read from a file that does not exists, the FileHandle currently creates this file silently, resulting in an 0 byte large file appearing on disk, this is clearly unwanted behavior. Instead the reading should fail with either an IOException or (depending on the called method) return a fitting default value.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions