[jdk17u-dev] Integrated: 8303942: os::write should write completely

Elif Aslan duke at openjdk.org
Fri Jun 7 16:33:20 UTC 2024


On Thu, 23 May 2024 19:33:35 GMT, Elif Aslan <duke at openjdk.org> wrote:

> This is not a clean backport. There were multiple merge conflicts related to undefined parameters and existing methods. This backport is required to address a crash observed in Amazon production. Please refer to the related [PR](https://github.com/openjdk/jdk17u-dev/pull/2281), which has already been merged.
> 
> 
> In addition to GHA Tier 1, runtime hotspot, JFR, and hotspot GC tests have been run on macOS.
> 
> 
>    TEST                                              TOTAL  PASS  FAIL ERROR
>    jtreg:test/hotspot/jtreg:hotspot_runtime            880   880     0     0
> ==============================
> TEST SUCCESS
> 
> Finished building target 'test' in configuration 'macosx-x86_64-server-release'
> 
> Additinonally, added clean backport of [JDK-8316468] (https://github.com/openjdk/jdk/commit/7ce5bd159024e70f5a997c47ed2ce962d6e6091b)
> 
> After new commit reran runtime hotspot tests and they all passed

This pull request has now been integrated.

Changeset: 2d9b1a66
Author:    Elif Aslan <elifasln at amazon.com>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/2d9b1a661dda17c3b6b2990d252cbb9e64ccf382
Stats:     110 lines in 12 files changed: 39 ins; 25 del; 46 mod

8303942: os::write should write completely
8316468: os::write incorrectly handles partial write
8183227: read/write APIs in class os shall return ssize_t

Reviewed-by: phh, shade
Backport-of: bddf48380e658df630fecad5eda40106a24b6e1c

-------------

PR: https://git.openjdk.org/jdk17u-dev/pull/2490


More information about the jdk-updates-dev mailing list