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

REGRESSION: 2 Regression-test java/rmi/activation tests fail on Tiger-b14

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86, sparc
    • OS:
      linux, solaris_9, solaris_10, windows_xp

      Description



      Name: vsR10238 Date: 08/14/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b14
      Testbase : Regression-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome), Windows XP Pro, Solaris 9 (sparc) (CDE), Solaris 10 (x86) (GNOME)
      switch/Mode : -client, -d64, -server
      Falling test[s]:
               java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java
               java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java

      These regression tests fail with JDK1.5.0-b14 on all platforms with
      java.lang.IllegalAccessError.
      The tests pass with JDK 1.4.2-b28, JDK1.5.0-b13.


      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.java
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/java/rmi/activation/Activatable/checkImplClassLoader/CheckImplClassLoader.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/net/linux-15/export/home/java/jct"
      JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/x86"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-client"
      TESTVMOPTS="-client"

      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-18" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java"

      --- script end ---


      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(50/5098)----------

      Regression test for bug 4149366

      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass/FooReceiverImpl.class
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/FooReceiverImpl.class
      TEST_LIBRARY: Installed class "FooReceiverImpl" in codebase file:/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass/FooReceiverImpl_Stub.class
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/FooReceiverImpl_Stub.class
      TEST_LIBRARY: Installed class "FooReceiverImpl_Stub" in codebase file:/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass/Foo.class
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/Foo.class
      TEST_LIBRARY: Installed class "Foo" in codebase file:/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase1/
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass/Bar.class
      TEST_LIBRARY: /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase2/Bar.class
      TEST_LIBRARY: Installed class "Bar" in codebase file:/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/codebase2/
      RMID: starting rmid...
      JAVAVM: command = /net/linux-15/export/home/java/jdk1.5.0/x86/jre/bin/java
      -Djava.security.policy=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/downloadParameterClass/rmid.security.policy -Dsun.rmi.server.activation.debugExec=true
      -Dtest.src=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/downloadParameterClass
      -Dtest.classes=/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass
      -Djava.rmi.server.logLevel=v sun.rmi.server.Activation -port 1098 -log /net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/scratch/./log
      -C-Dtest.src=/net/linux-15/export/home/java/regtest.tiger/test/java/rmi/activation/Activatable/downloadParameterClass
      -C-Dtest.classes=/net/linux-15/export/home/results_full/tiger/b14/regtest/x86/sol10_x86_gnome_linux-18/workDir/test/classes/java/rmi/activation/Activatable/downloadParameterClass

      JAVAVM: finished starting vm.
      RMID: finished starting rmid.
      Creating descriptors
      Registering descriptors
      RMID: getting a reference to the activation system
      RMID: obtained a reference to the activation system
      # activation daemon shut down
      RMID: testlibrary finished shutting down rmid
      RMID: rmid exited on shutdown request
      ACTIVATION_LIBRARY: finished destroying rmid
      RMID: removing rmid's old log file...
      java.lang.IllegalAccessError: tried to access class FooReceiverImpl_Stub$1 from class FooReceiverImpl_Stub
      at FooReceiverImpl_Stub.<clinit>(FooReceiverImpl_Stub.java:14)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:275)
      at sun.rmi.server.RemoteProxy.getStub(RemoteProxy.java:95)
      at sun.rmi.server.ActivatableRef.getStub(ActivatableRef.java:68)
      at java.rmi.activation.Activatable.register(Activatable.java:220)
      at DownloadParameterClass.main(DownloadParameterClass.java:99)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

      JavaTest Message: Test threw exception: java.lang.IllegalAccessError: tried to access class FooReceiverImpl_Stub$1 from class FooReceiverImpl_Stub
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.IllegalAccessError: tried to access class FooReceiverImpl_Stub$1 from class FooReceiverImpl_Stub
      result: Failed. Execution failed: `main' threw exception: java.lang.IllegalAccessError: tried to access class FooReceiverImpl_Stub$1 from class FooReceiverImpl_Stub


      test result: Failed. Execution failed: `main' threw exception: java.lang.IllegalAccessError: tried to access class FooReceiverImpl_Stub$1 from class FooReceiverImpl_Stub


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro
      Hostname: linux-18
      OS: Solaris 10 (x86) (GNOME)
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)
      Hostname: novo48
      OS: Solaris 9 (sparc) (CDE)



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

        Attachments

          Activity

            People

            Assignee:
            peterjones Peter Jones
            Reporter:
            vshsunw Vsh Vsh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: