Integrated: 8259956: jdk.jfr.internal.ChunkInputStream#available should return the sum of remaining available bytes

Denghui Dong ddong at openjdk.java.net
Thu Feb 4 09:25:46 UTC 2021


On Tue, 19 Jan 2021 06:50:21 GMT, Denghui Dong <ddong at openjdk.org> wrote:

> Could I have a review of this small fix?
> 
> In the current implementation, ChunkInputStream#available only returns the available size of the current stream, which is strange for the user.

This pull request has now been integrated.

Changeset: e8ad8b35
Author:    Denghui Dong <ddong at openjdk.org>
Committer: Erik Gahlin <egahlin at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/e8ad8b35
Stats:     64 lines in 2 files changed: 61 ins; 0 del; 3 mod

8259956: jdk.jfr.internal.ChunkInputStream#available should return the sum of remaining available bytes

Reviewed-by: egahlin

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

PR: https://git.openjdk.java.net/jdk/pull/2138


More information about the hotspot-jfr-dev mailing list