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

macOS: Do not run failure handler commands that require Developer mode access

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b150

      Description

      The failure handler (test/failure_handler) runs a number of commands when it detects a timeout in one of the tests. On OS X some of these commands require "Developer mode" (like getting a core file). If "Developer mode" is not enabled, the tools will open a modal dialog. This is problematic when running automated test. The dialog will also prevent other tests from completing.

      Failure handler should be modified to check if "Developer mode" is enabled before running commands that require it.

      Checking for "Developer mode" can be done with "DevToolsSecurity --status"

        Attachments

          Activity

            People

            Assignee:
            sla Staffan Larsen (Inactive)
            Reporter:
            sla Staffan Larsen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: