ReportOnlyTest may fail in "headless" environments

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      ReportOnlyTest.ok is dependent on Basic.othervm.ok

      Basic.othervm.ok queries the VM to determine if it is running in a headless environment.

          public static final String headlessProperty = System.getProperty("java.awt.headless");
          public static final boolean isHeadless = java.awt.GraphicsEnvironment.isHeadless();

      ReportOnlyTest.ok relies on a Makefile variable `HEADLESS`.

      The test will fail tf these have inconsistent settings.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: