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

defmeth tests can hide failures

XMLWordPrintable

    • b18

        porting defmeth tests, I noticed that they hide some exceptions. for example, any exceptions thrown by vm.runtime.defmeth.shared.Utils.retransformClass / redefineClass (or any other methods called from prepare) will be wrapped by InvocationTargetException and later ignored in DefMethTest, so we fail before test code is executed, nobody calls DefMethTest::addFailureCount, as a result tests are reported as passed.


              hseigel Harold Seigel (Inactive)
              iignatyev Igor Ignatyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: