On Tue, 27 Apr 2021 01:26:53 GMT, Brian Burkhalter <b...@openjdk.org> wrote:
> Please consider this request to correct a minor problem with the optimization > added for JDK-4926314. The change is to attempt to read the number of > elements remaining in the target buffer unless that number is non-positive in > which case read zero. The test addition fails without and passes with the > implementation change. This pull request has now been integrated. Changeset: 2a037395 Author: Brian Burkhalter <b...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/2a037395306edc96338073dead70045fcf3167c6 Stats: 20 lines in 2 files changed: 16 ins; 2 del; 2 mod 8266014: Regression brought by optimization done with JDK-4926314 Reviewed-by: alanb, naoto ------------- PR: https://git.openjdk.java.net/jdk/pull/3708