Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903792

ReportOnlyTest may fail in "headless" environments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • None
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: