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

ToolkitThreadGroupTest doesn't work on linux

    XMLWordPrintable

Details

    • b02
    • linux

    Description

      Full test name:
      closed/java/awt/Toolkit/ToolkitThreadGroupTest/ToolkitThreadGroupTest.java
      Reproducible: always
      Platform specific: yes
      Test always fails on linux.

      When test tries to get toolkit thread name, it doesn't check if os name is "linux" and throws runtime exception.
      This line should be changed to make test work on linux:
      ...
      54 } else if (OS.contains("nix") || (OS.contains("sunos")) || (OS.contains("linux"))) {
      ...

      Attachments

        Activity

          People

            kshefov Konstantin Shefov
            arusakov Andrey Rusakov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: