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

sun/jkernel/Bundle/ExerciseLZMA.java Failed, it try to load dll on *nix platforms

    XMLWordPrintable

Details

    • b01
    • sparc
    • solaris_10
    • Verified

    Description

      regression test suite for 6u11b02
      test: sun/jkernel/DownloadManager/ParallelClassloading.java
      platform: solaris 10 sun4u
      It's test issue.
      It failed with:
      Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: ParallelClassloading loadLibrary threw: java.lang.UnsatisfiedLinkError: Can't load library: /export/jdk/6u12b01/jdk1.6.0_12/jre/bin\rmi.dll

      Because it try to load dll on unix type system, so i think it impossible because dll it's format for windows, paths to dll's is hardcoded in test:

              "L" + System.getProperty("java.home") + File.separator + "bin\\rmi.dll",
              "L" + System.getProperty("java.home") + File.separator + "bin\\management.dll"

      so test should have switch on os type, or we should test it only on windows systems

      Attachments

        Activity

          People

            robm Robert Mckenna
            ikobzaresunw Ivan Kobzarev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: