-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
fcs
-
sparc
-
solaris_2.5.1
-
Verified
The com.sun.rmi.io.NativeHook c-tor throws UnsatisfiedLinkError
----------------------- Test.java -------------------
public class Test {
public static void main(String[] argv) {
new com.sun.rmi.io.NativeHook();
}
}
-----------------------------------------------------
Output:
kuzm@novo35:82 :java Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ioserx in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled Code)
at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
at java.lang.System.loadLibrary(System.java, Compiled Code)
at com.sun.rmi.util.LoadLibraryAction.run(JDKBridgeDelegate12.java, Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.rmi.util.JDKBridgeDelegate12.loadLibrary(JDKBridgeDelegate12.java, Compiled Code)
at com.sun.rmi.util.JDKBridge.loadLibrary(JDKBridge.java, Compiled Code)
at com.sun.rmi.io.NativeHook.<clinit>(NativeHook.java:28)
at Test.main(Test.java, Compiled Code)
kuzm@novo35:83 :java -fullversion
java full version "JDK-1.3-J"
----------------------- Test.java -------------------
public class Test {
public static void main(String[] argv) {
new com.sun.rmi.io.NativeHook();
}
}
-----------------------------------------------------
Output:
kuzm@novo35:82 :java Test
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ioserx in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java, Compiled Code)
at java.lang.Runtime.loadLibrary0(Runtime.java, Compiled Code)
at java.lang.System.loadLibrary(System.java, Compiled Code)
at com.sun.rmi.util.LoadLibraryAction.run(JDKBridgeDelegate12.java, Compiled Code)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.rmi.util.JDKBridgeDelegate12.loadLibrary(JDKBridgeDelegate12.java, Compiled Code)
at com.sun.rmi.util.JDKBridge.loadLibrary(JDKBridge.java, Compiled Code)
at com.sun.rmi.io.NativeHook.<clinit>(NativeHook.java:28)
at Test.main(Test.java, Compiled Code)
kuzm@novo35:83 :java -fullversion
java full version "JDK-1.3-J"