Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8285690

CloneableReference subtest should not throw CloneNotSupportedException

XMLWordPrintable

    • 11
    • b21

        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.

              kbarrett Kim Barrett
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: