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

Java 1.2 class loader fails to load multiple classloaders with native lib

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: 1.2.0, 1.2.2, 1.3.1
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic, x86, sparc
    • OS:
      generic, solaris_2.6, windows_nt

      Description


      Java 1.2 class loader fails to allow repeated loading of the
      same share library (from user defined classes with native
      method), even though it is loaded via totally distinct
      instances of class loaders.

      Error Message:
      -------------
      At the 2nd execution of the user defined class (with Native
      method) via a distinct class loader, we get the following
      error message:

      java.lang.UnsatisfiedLinkError: Native Library
      /export/home3/yella/fay/tst/show/store/libfay.so
      already loaded in another classloader

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                foliversunw Fred Oliver (Inactive)
                Reporter:
                duke J. Duke (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: