On Wed, 27 Apr 2022 09:24:24 GMT, Kim Barrett <kbarr...@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 <kbarr...@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