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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 1.2.0, 1.2.2, 1.3.1
    • core-libs
    • generic, x86, sparc
    • generic, solaris_2.6, windows_nt


      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: