Integrated: 8374998: Failing os::write - remove bad file
Matthias Baesken
mbaesken at openjdk.org
Wed Jan 21 14:17:35 UTC 2026
On Wed, 14 Jan 2026 11:15:35 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:
> In filemap.cpp there is error - handling for os::write and in case of failure a 'bad' potentially incomplete file is removed.
> https://github.com/openjdk/jdk/blob/1b6c2bdd7b57891ed35e3c067871d2c0bf282824/src/hotspot/share/cds/filemap.cpp#L1059-L1062
> This should probably be done also in other coding.
This pull request has now been integrated.
Changeset: 4c9103f7
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/4c9103f7b6c91b0f237859516ef72bb9ee27157e
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
8374998: Failing os::write - remove bad file
Reviewed-by: mdoerr, lucy
-------------
PR: https://git.openjdk.org/jdk/pull/29228
More information about the hotspot-runtime-dev
mailing list