Integrated: 8285690: CloneableReference subtest should not throw CloneNotSupportedException
Kim Barrett
kbarrett at openjdk.java.net
Thu Apr 28 15:18:45 UTC 2022
On Wed, 27 Apr 2022 09:24:24 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this fix to test/jdk/java/lang/ref/ReferenceClone.java. It was
> passing if CloneableReference::clone were to throw CloneNotSupportedException.
> That should be a failure.
>
> Testing:
> Locally (linux-x64) verified test still passes. Temporarily changed
> CloneableReference::clone to throw and verified the expected failure gets
> reported, unlike before.
This pull request has now been integrated.
Changeset: 2d8d1402
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/2d8d1402147f6ddd15732ce7098a8438317a2681
Stats: 5 lines in 1 file changed: 2 ins; 0 del; 3 mod
8285690: CloneableReference subtest should not throw CloneNotSupportedException
Reviewed-by: rriggs, mchung
-------------
PR: https://git.openjdk.java.net/jdk/pull/8418
More information about the core-libs-dev
mailing list