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

aarch32: remove redundant "Not tested this message"

XMLWordPrintable

    • aarch32
    • linux

      interpreter ForceEarlyExit contain stop("Not tested this") call.

      In attach there is sample demo consisted from app and agent.
      App throws exception and prints message when it catched and when
      finally block executed.

      Agent catches same exception from application, and calls ForceEarlyExit
      on active thread.

      When no agent attached, there should be such messages:
      about to throw...
      catch!
      finally!
      exiting...

      When agent attached, now jvm crashes with "Not tested this" message.

      After removing stop (patch in attach), everything should work as
      expected, I see such messages:
      Hello from agent
      about to throw...
      called callbackException 3!
      exiting...

      Since stop is only reason this test fails, let's delete it?

            enevill Ed Nevill
            enevill Ed Nevill
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: