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

REGRESSION: 5 JCK1.5-compiler/api/java_rmi/rmic tests failed

XMLWordPrintable

    • x86
    • solaris_9



      Name: kaR10181 Date: 08/12/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b14
      JCK : JCK1.5-compiler
      Platform[s] : Solaris 9 (x86), Linux RH9.0
      switch/Mode : -source 1.4
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]:
               api/java_rmi/rmic/skel/TestRemote6/index.html#SeveralArgs [result]
               api/java_rmi/rmic/stub11/TestRemote6/index.html#Combined [result]
               api/java_rmi/rmic/stub11/TestRemote6/index.html#Primitive [result]
               api/java_rmi/rmic/stub11/TestRemote6/index.html#Reference [result]
               api/java_rmi/rmic/stub12/TestRemote6/index.html#SeveralArgs [result]

      5 JCK1.5-compiler tests fail on JDK1.5.0-b14. The tests pass with JDK1.5.0-b13.

      Test source location:
      =====================
      /java/re/jck/1.5/promoted/latest/binaries/JCK-compiler-15/tests/api/java_rmi/rmic/skel/TestRemote6/SeveralArgsTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-compiler-15/tests/api/java_rmi/rmic/stub11/TestRemote6/CombinedTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-compiler-15/tests/api/java_rmi/rmic/stub11/TestRemote6/PrimitiveTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-compiler-15/tests/api/java_rmi/rmic/stub11/TestRemote6/ReferenceTests.java
      /java/re/jck/1.5/promoted/latest/binaries/JCK-compiler-15/tests/api/java_rmi/rmic/stub12/TestRemote6/SeveralArgsTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/jck15/x86/sol9_x86_cde_smp_compiler_source_1.4_linux-6/workDir/api/java_rmi/rmic/skel/TestRemote6/index_SeveralArgs.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/jck15/x86/sol9_x86_cde_smp_compiler_source_1.4_linux-6/workDir/api/java_rmi/rmic/stub11/TestRemote6/index_Combined.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/jck15/x86/sol9_x86_cde_smp_compiler_source_1.4_linux-6/workDir/api/java_rmi/rmic/stub11/TestRemote6/index_Primitive.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/jck15/x86/sol9_x86_cde_smp_compiler_source_1.4_linux-6/workDir/api/java_rmi/rmic/stub11/TestRemote6/index_Reference.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b14/jck15/x86/sol9_x86_cde_smp_compiler_source_1.4_linux-6/workDir/api/java_rmi/rmic/stub12/TestRemote6/index_SeveralArgs.jtr

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

      --- script start ---
      #!/bin/bash

      JCK="/net/linux-15/export/home/java/jck1.5/JCK-compiler-15"
      JDK="/java/re/jdk/1.5.0/promoted/latest/binaries/x86"
      switches="-source 1.4"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.java.rmi.rmic.skel.TestRemote6.SeveralArgsTests -TestCaseID result

      --- script end ---

      Test output:
      ============

      ----------ref:(2/124)----------
      error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi).
      1 error
      ----------log:(36/2413)----------
      sun.tools.java.CompilerError: duplicate addition
           at sun.tools.java.MethodSet.add(MethodSet.java:85)
           at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1472)
           at sun.tools.java.BinaryClass.basicCheck(BinaryClass.java:73)
           at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:130)
           at sun.tools.java.ClassDefinition.collectOneClass(ClassDefinition.java:1219)
           at sun.tools.java.ClassDefinition.collectInheritedMethods(ClassDefinition.java:1484)
           at sun.tools.java.BinaryClass.basicCheck(BinaryClass.java:73)
           at sun.tools.java.ClassDeclaration.getClassDefinition(ClassDeclaration.java:130)
           at sun.tools.java.Environment.getQualifiedClassDefinition(Environment.java:392)
           at sun.tools.java.Environment.resolve(Environment.java:219)
           at sun.tools.tree.FieldExpression.toType(FieldExpression.java:188)
           at sun.tools.tree.FieldExpression.checkCommon(FieldExpression.java:403)
           at sun.tools.tree.FieldExpression.checkValue(FieldExpression.java:213)
           at sun.tools.tree.Expression.checkInitializer(Expression.java:175)
           at sun.tools.tree.ArrayExpression.checkInitializer(ArrayExpression.java:41)
           at sun.tools.tree.NewArrayExpression.checkValue(NewArrayExpression.java:56)
           at sun.tools.tree.MethodExpression.checkValue(MethodExpression.java:259)
           at sun.tools.tree.AssignExpression.checkValue(AssignExpression.java:34)
           at sun.tools.tree.BinaryAssignExpression.check(BinaryAssignExpression.java:48)
           at sun.tools.tree.ExpressionStatement.check(ExpressionStatement.java:32)
           at sun.tools.tree.Statement.checkBlockStatement(Statement.java:150)
           at sun.tools.tree.CompoundStatement.check(CompoundStatement.java:58)
           at sun.tools.tree.TryStatement.check(TryStatement.java:46)
           at sun.tools.tree.Statement.checkBlockStatement(Statement.java:150)
           at sun.tools.tree.CompoundStatement.check(CompoundStatement.java:58)
           at sun.tools.tree.Statement.checkMethod(Statement.java:85)
           at sun.tools.javac.SourceMember.check(SourceMember.java:532)
           at sun.tools.javac.SourceClass.checkMembers(SourceClass.java:969)
           at sun.tools.javac.SourceClass.checkInternal(SourceClass.java:605)
           at sun.tools.javac.SourceClass.check(SourceClass.java:504)
           at sun.rmi.rmic.Main.compileClass(Main.java:693)
           at sun.rmi.rmic.Main.compileAllClasses(Main.java:638)
           at sun.rmi.rmic.Main.doCompile(Main.java:536)
           at sun.rmi.rmic.Main.compile(Main.java:130)
           at sun.rmi.rmic.Main.main(Main.java:761)
      result: Failed. exit code 1


      test result: Failed. compilation failed unexpectedly [exit code 1]

      Specific machine info:
      ======================
      Hostname: linux-6
      OS: Solaris 9 (x86) (CDE)



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

            peterjones Peter Jones (Inactive)
            akmsunw Akm Akm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: