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

JCK1.4,JCK1.3a: UnsatisfiedLinkError in many java_io tests in Windows

XMLWordPrintable

    • x86
    • windows_2000



      Name: skR10017 Date: 09/21/2001



      JDK : jdk1.4.0-b80
      JCK : JCK1.4-b09, JCK1.3a
      Platform[s] : Windows 2000, Windows 98
      switch/Mode : default
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Tests :

      api/java_io/FileReader/index.html#FRRead1Test
      api/java_io/FileReader/index.html#FRRead2Test
      api/java_io/FileReader/index.html#FRRead3Test
      api/java_io/FileReader/index.html#FRSkipTest
      api/java_io/FileWriter/constr.html#FWCons5
      api/java_io/FileWriter/index.html#FWCloseTest
      api/java_io/FileWriter/index.html#FWConstructor1Test
      api/java_io/FileWriter/index.html#FWConstructor2Test
      api/java_io/FileWriter/index.html#FWConstructor3Test
      api/java_io/FileWriter/index.html#FWConstructor4Test
      api/java_io/FileWriter/index.html#FWFlushTest
      api/java_io/FileWriter/index.html#FWWrite1Test
      api/java_io/FileWriter/index.html#FWWrite2Test
      api/java_io/FileWriter/index.html#FWWrite3Test
      api/java_io/FileWriter/index.html#FWWrite4Test
      api/java_io/FileWriter/index.html#FWWrite5Test
      api/java_io/OutputStreamWriter/index.html#Ctor

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_io/FileReader/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_io/FileWriter/*.java
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_io/OutputStreamWriter/*.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b80/jck14/win32/win2000_client_linux-2/workDir/api/java_io/FileWriter/index_FWCloseTest.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b80/jck14/win32/win2000_client_linux-2/workDir/api/java_io/FileWriter/*.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b80/jck14/win32/win2000_client_linux-2/workDir/api/java_io/FileReader/*.jtr
      /net/jtgb4u4c.eng/export/sail15/results/merlin/b80/jck14/win32/win2000_client_linux-2/workDir/api/java_io/OutputStreamWriter/*.jtr

      How to reproduce:
      =================
      How to reproduce:
      (probably, you need to change JCK and JAVA_HOME paths):
      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME="H:/jdk1.4.0/win32"
      JCK="H:/java/jck1.4/JCK-runtime-14"
      CLASSPATH="$JCK/classes;$JCK/javatest.jar"
      export CLASSPATH
      executeClass="javasoft.sqe.tests.api.java.io.FileWriter.FWCloseTest -TestWorkDirURL file:///C:/TMP -TestURL
      file:///$JCK/tests/api/java_io/FileWriter/index.html#FWCloseTest"

      $JAVA_HOME/bin/java ${SWITCH} -version
      $JAVA_HOME/bin/java ${SWITCH} -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy ${executeClass}
      RESULT="$?"
      if [ $RESULT = 95 ]; then
       echo Test passed
      elif [ $RESULT = 97 ]; then
       echo Test failed
      else
       echo Result is $RESULT
      fi
      ---------Script END----------------------


      Test output:
      ============
      Starting testcase <CloseTest0001>...
      Constructing the FileWriter
      Starting testcase CloseTest0002...
      Creating the Stream and closing it
      ----------log:(39/2845)*----------
      java.lang.UnsatisfiedLinkError: C:\\jdk1.4.0\\jre\\bin\\nio.dll: Can't find dependent libraries
              at java.lang.ClassLoader$NativeLibrary.load(Native Method)
              at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1440)
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1356)
              at java.lang.Runtime.loadLibrary0(Runtime.java:773)
              at java.lang.System.loadLibrary(System.java:835)
              at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.nio.ch.FileChannelImpl.<clinit>(FileChannelImpl.java:594)
              at java.io.FileOutputStream.getChannel(FileOutputStream.java:309)
              at java.io.OutputStreamWriter$CharsetByteOutputter.<init>(OutputStreamWriter.java:300)
              at java.io.OutputStreamWriter.setup(OutputStreamWriter.java:93)
              at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:135)
              at java.io.FileWriter.<init>(FileWriter.java:73)
              at javasoft.sqe.tests.api.java.io.FileWriter.FWCloseTest.CloseTest0001(FWCloseTest.java:113)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:313)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.tests.api.java.io.FileWriter.FWCloseTest.main(FWCloseTest.java:288)
      CloseTest0001: Failed. Test case throws exception: java.lang.UnsatisfiedLinkError: C:\\jdk1.4.0\\jre\\bin\\nio.dll: Can't find dependent libraries
      java.lang.NoClassDefFoundError
              at java.io.FileOutputStream.getChannel(FileOutputStream.java:309)
              at java.io.OutputStreamWriter$CharsetByteOutputter.<init>(OutputStreamWriter.java:300)
              at java.io.OutputStreamWriter.setup(OutputStreamWriter.java:93)
              at java.io.OutputStreamWriter.<init>(OutputStreamWriter.java:135)
              at java.io.FileWriter.<init>(FileWriter.java:73)
              at javasoft.sqe.tests.api.java.io.FileWriter.FWCloseTest.CloseTest0002(FWCloseTest.java:208)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:313)
              at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:407)
              at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:203)
              at javasoft.sqe.tests.api.java.io.FileWriter.FWCloseTest.main(FWCloseTest.java:288)
      CloseTest0002: Failed. Test case throws exception: java.lang.NoClassDefFoundError
      STATUS:Failed.tests: 2; failed: 2; first test case failure: CloseTest0001
      result: Failed. tests: 2; failed: 2; first test case failure: CloseTest0001



      Specific Machine Info:
      ======================
      Hostname: linux-2
      Os: Windows 2000
      Hostname: linux-16
      Os: Windwos 98

      ======================================================================

      Name: skR10017 Date: 09/25/2001



      The following tests in JCK-compiler fail due to the same reason:
           api/java_rmi/registry/Registry/index.html#Lookup
           api/java_rmi/registry/Registry/index.html#List
           api/java_rmi/server/RemoteStub/index.html
           api/java_rmi/registry/Registry/index.html#Bind
           api/java_rmi/registry/Registry/index.html#Rebind
           api/java_rmi/registry/Registry/index.html#Unbind
           api/java_rmi/server/UnicastRemoteObject/serial/index.html#Constructor
           api/java_rmi/Naming/index.html#Rebind
           api/java_rmi/activation/ActivationDesc/GetLocation.html#GetLocationTest0001
           api/java_rmi/server/RemoteObject/index.html#Equals
           api/java_rmi/Naming/index.html#Unbind
           api/java_rmi/server/RemoteServer/index.html#GetClientHost
           api/java_rmi/Naming/index.html#Lookup
           api/java_rmi/Naming/index.html#Bind
           api/java_rmi/Naming/index.html#List
           api/java_rmi/server/RemoteObject/index.html#HashCode
           api/java_rmi/CreateTest.html
           api/java_rmi/server/RemoteObject/index.html#ToString
           api/java_rmi/activation/Activatable/serial/index.html#Constructor
           api/java_rmi/rmic/skel/TestRemote3/index.html#Primitive
           api/java_rmi/rmic/skel/TestRemote2/index.html#Primitive
           api/java_rmi/rmic/skel/TestRemote1/index.html#Several
           api/java_rmi/rmic/skel/TestRemote5/index.html#Reference
           api/java_rmi/rmic/skel/TestRemote6/index.html#SeveralArgs
           api/java_rmi/rmic/skel/TestRemote0/index.html#Void
           api/java_rmi/rmic/skel/TestRemote4/index.html#Reference
           api/java_rmi/rmic/stub12/TestRemote8/index.html#TwoRemotes
           api/java_rmi/rmic/stub12/TestRemote3/index.html#Primitive
           api/java_rmi/rmic/stub12/TestRemote10/index.html#NonRemoteMethod
           api/java_rmi/rmic/stub12/TestRemote9/index.html#AnotherRemoteImpl
           api/java_rmi/rmic/stub12/TestRemote2/index.html#Primitive
           api/java_rmi/rmic/stub12/TestRemote1/index.html#Several
           api/java_rmi/rmic/stub12/TestRemote5/index.html#Reference
           api/java_rmi/rmic/stub12/TestRemote6/index.html#SeveralArgs
           api/java_rmi/rmic/stub12/TestRemote7/index.html#NonRemote
           api/java_rmi/rmic/stub12/TestRemote0/index.html#Void
           api/java_rmi/rmic/stub12/TestRemote4/index.html#Reference
           api/java_rmi/rmic/stub11/TestRemote3/index.html#Primitive
           api/java_rmi/rmic/stub11/TestRemote2/index.html#Primitive
           api/java_rmi/rmic/stub11/TestRemote1/index.html#Several
           api/java_rmi/rmic/stub11/TestRemote5/index.html#Unmarshalling
           api/java_rmi/rmic/stub11/TestRemote5/index.html#OperationsHash
           api/java_rmi/rmic/stub11/TestRemote6/index.html#Combined
           api/java_rmi/rmic/stub11/TestRemote6/index.html#Reference
           api/java_rmi/rmic/stub11/TestRemote6/index.html#Primitive
           api/java_rmi/rmic/stub11/TestRemote0/index.html#Void
           api/java_rmi/rmic/stub11/TestRemote4/index.html#Marshalling
           api/java_rmi/rmic/stub11/TestRemote4/index.html#OperationsHash
           api/java_rmi/registry/LocateRegistry/index.html#GetRegistry
           api/java_rmi/registry/LocateRegistry/index.html#CreateRegistry
           api/java_rmi/server/RemoteServer/index.html#SetLog
           api/java_rmi/server/Skeleton/index.html#Skel
           api/java_rmi/server/UnicastRemoteObject/ctor.html#Ctor0003
           api/java_rmi/server/UnicastRemoteObject/clone.html#Clone0002
           api/java_rmi/server/UnicastRemoteObject/expobj.html#ExpObj0003
           api/java_rmi/server/UnicastRemoteObject/ctor.html#Ctor0002
           api/java_rmi/server/UnicastRemoteObject/expobj.html#ExpObj0002
           api/java_rmi/server/UnicastRemoteObject/expobj.html#ExpObj0005
           api/java_rmi/server/UnicastRemoteObject/ctor.html#Ctor0004
           api/java_rmi/server/UnicastRemoteObject/expobj.html#ExpObj0004
           api/java_rmi/server/UnicastRemoteObject/ctor.html#Ctor0001
           api/java_rmi/server/UnicastRemoteObject/expobj.html#ExpObj0001
           api/java_rmi/server/UnicastRemoteObject/ctor.html#Ctor0005
           api/java_rmi/server/UnicastRemoteObject/clone.html#Clone0001
           api/java_rmi/activation/Activator/index.html#Activate



      ======================================================================

            mmcclosksunw Michael Mccloskey (Inactive)
            kotlsunw Kotl Kotl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: