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

[test] Need further track the fail cases in javaws/association

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 9
    • 9
    • deploy

      Two cases in javaws/association failed even with very old jre9(b46) on Ubuntu 16.04 x64(sca00alt.us.oracle.com). Seems this machine doesn't support association. When I run the following code:
      private boolean isAssociationSupport() {

              if (System.getProperty("os.name").contains("Windows")) {
                  System.out.println("Windows case");
                  return true;
              } else {
                  String getGNOME = System.getenv("GNOME_DESKTOP_SESSION_ID");

                  if (getGNOME != null) {
                      System.out.println("gnome case. getGNOME = "+getGNOME);
                      return true;
                  } else {
                      MsgPrinter.printErr(
                              "The OS:" + osName + " doesn't support association");
                      return false;
                  }

              }
          }
      I got "gnome case. getGNOME = this-is-deprecated".
      Need further check.

      Affected tests:
      RULE AssociationSuiteTest::testAssociationAlways any any
      RULE AssociationSuiteTest::testAssociationAndCheck any any

            wenjyang Crystal Yang (Inactive)
            wenjyang Crystal Yang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: