JDK 11 | JDK 17 | JDK 19 |
---|---|---|
11.0.19-oracleFixed | 17.0.7-oracleFixed | 19 b21Fixed |
Relates :
|
The test java/lang/ref/ReferenceClone.java has a subtest that calls clone() on the test class CloneableReference. That call should not throw CloneNotSupportedException, and indeed should fail if it does throw that exception. But that clone call is within a try/catch that ignores that exception. The fix is to have the test fail if that exception is thrown.
|