[prev in list] [next in list] [prev in thread] [next in thread]
List: openjdk-2d-dev
Subject: Integrated: 8292304: [REDO] JDK-8289208 Test DrawRotatedStringUsingRotatedFont.java occasionally cra
From: Maxim Kartashev <mkartashev () openjdk ! org>
Date: 2022-08-25 19:48:04
Message-ID: 5wWVcQRkWUqT8NKkfZQcjacjc8B0sWeu3LEYXxd_G04=.34271611-ea43-4d7f-8676-60031a4b03f2 () github ! com
[Download RAW message or body]
On Tue, 16 Aug 2022 08:26:08 GMT, Maxim Kartashev <mkartashev@openjdk.org> wrote:
> See also the [original pull request](https://github.com/openjdk/jdk/pull/9362) \
> where the change is explained and discussed in details.
> Compared to the original version of this fix I
> * changed the error reporting from `printStackTrace()` to `System.out.println()` as \
> per @prrace request,
> * fixed the test to use `AtomicInteger` for the counter of disposer records as `+=` \
> and `--` operations on a `volatile int` do not guarantee value's integrity, which \
> caused the test to often fail.
> `test/jdk/sun/java2d/Disposer/TestDisposerRace.java` now passes successfully on \
> MacOS and Linux.
This pull request has now been integrated.
Changeset: 5d799d80
Author: Maxim Kartashev <mkartashev@openjdk.org>
Committer: Phil Race <prr@openjdk.org>
URL: https://git.openjdk.org/jdk/commit/5d799d80e638b85fa3881904e7330ffb5100764a
Stats: 141 lines in 3 files changed: 122 ins; 5 del; 14 mod
8292304: [REDO] JDK-8289208 Test DrawRotatedStringUsingRotatedFont.java occasionally \
crashes on MacOS
Reviewed-by: prr
-------------
PR: https://git.openjdk.org/jdk/pull/9890
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic