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

java/beans/XMLDecoder/8028054/Task.java should use the 3-arg Class.forName

XMLWordPrintable

        The issue comes from https://github.com/openjdk/jdk/pull/9677#issuecomment-1200811357.

        If Loom is not supported, two XMLDecoder tests would fail. The issue could be reproduced by zero, for example:

        --------------------------------------------------
        TEST: java/beans/XMLDecoder/8028054/TestConstructorFinder.java
        ...
        Caused by: java.lang.UnsupportedOperationException: VM does not support continuations
        at java.base/jdk.internal.vm.ContinuationSupport.ensureSupported(ContinuationSupport.java:49)
        at java.base/jdk.internal.vm.Continuation.<clinit>(Continuation.java:52)
        ... 9 more
        ...

        --------------------------------------------------
        TEST: java/beans/XMLDecoder/8028054/TestMethodFinder.java
        ...
        Caused by: java.lang.UnsupportedOperationException: VM does not support continuations
        at java.base/jdk.internal.vm.ContinuationSupport.ensureSupported(ContinuationSupport.java:49)
        at java.base/jdk.internal.vm.Continuation.<clinit>(Continuation.java:52)
        ... 9 more
        ...
        --------------------------------------------------

              aoqi Qi Ao
              aoqi Qi Ao
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: