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

JCK-102a tests -- duplicated messages and incorrect message type

    XMLWordPrintable

Details

    • 1.1beta3
    • sparc
    • solaris_2.5
    • Not verified

    Description

      The following tests were compiled/run with JDK1.1i --

         ...tests/java_spec/src/CLSS/clss140/clss140.html
         ... /clss141.html
         ... /clss142.html
         ... /clss143.html
         ... /clss144.html
         ... /clss145.html
         ... /clss146.html
         ... /clss147.html
         ... /clss148.html
         ... /clss149.html
         ... /clss150.html
         ... /clss151.html
         ...tests/java_spec/src/NAME/name024/name024.html
         ... /PKGS/pkgs041/pkgs041.html

      Results: The error message output was duplicated (i.e., 4 exact messages).
               The first message was listed as an error and the succedding three
               messages as warnings. The results file for clss140.html is listed
               below.

      #Test Results
      #Fri Oct 04 10:34:42 PDT 1996
      status=Failed. Reference file not found
      work=file:/home/hagen/RESULTS/sol/b2/java_spec/src/CLSS/clss140/
      execStatus=Completed--check results. Compilation failed as expected; check output [exit code 1]
      description=file:/home/hagen/JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.html
      sections=compile.java
      harnessVersion=JT1.0_beta1
      end=Fri Oct 04 10:34:41 PDT 1996
      start=Fri Oct 04 10:34:36 PDT 1996
      environment=jdk1.1

      test: file:/home/hagen/JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.html
      running script javasoft.sqe.harness.CompTestScript -expectFail -checkErrors
      exec: /usr/local/java/jdk1.1/solaris/bin/javac -d /home/hagen/RESULTS/sol/b2/classes JCK-102a/tests/java_spec/src/CLSS/clss140/clss140_a.java JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.java CLASSPATH=/home/hagen/JCK-102a/classes:/home/hagen/RESULTS/sol/b2/classes:
      command exited, exit=1
      command result: status not set
      ----------ref:compile.java(0/0)----------
      ----------log:compile.java(14/1619)----------
      err = 1!
      JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.java:13: Can't access class javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a. Only public classes and interfaces in other packages can be accessed.
      javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a x = new javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a();
      ^
      JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.java:13: Can't access class javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a. Only public classes and interfaces in other packages can be accessed.
      javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a x = new javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a();
      ^
      JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.java:13: Can't access class javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a. Only public classes and interfaces in other packages can be accessed.
      javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a x = new javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a();
      ^
      JCK-102a/tests/java_spec/src/CLSS/clss140/clss140.java:13: Can't access class javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a. Only public classes and interfaces in other packages can be accessed.
      javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a x = new javasoft.sqe.tests.java_spec.clss140.aaa.bbb.ccc.clss140_a();
      ^
      1 error, 3 warnings
      test result: Completed--check results. Compilation failed as expected; check output [exit code 1]

      -------------------------------------------------------------------------------

      NOTE: This bug was noted by Leonid. A mapping of our tests to theirs follows:

         tests/java_spec/src/CLSS/clss140/clss140.html ->
         lang/CLSS/clss013/clss01301/clss01301.html
                              
         tests/java_spec/src/CLSS/clss141/clss141.html ->
         lang/CLSS/clss013/clss01302/clss01302.html

         tests/java_spec/src/CLSS/clss142/clss142.html ->
         lang/CLSS/clss013/clss01303/clss01303.html

         tests/java_spec/src/CLSS/clss143/clss143.html ->
         lang/CLSS/clss013/clss01304/clss01304.html

         tests/java_spec/src/CLSS/clss144/clss144.html ->
         lang/CLSS/clss013/clss01305/clss01305.html

         tests/java_spec/src/CLSS/clss145/clss145.html ->
         lang/CLSS/clss013/clss01306/clss01306.html

         tests/java_spec/src/CLSS/clss146/clss146.html ->
         lang/CLSS/clss013/clss01307/clss01307.html

         tests/java_spec/src/CLSS/clss147/clss147.html ->
         lang/CLSS/clss013/clss01308/clss01308.html

         tests/java_spec/src/CLSS/clss148/clss148.html ->
         lang/CLSS/clss013/clss01309/clss01309.html

         tests/java_spec/src/CLSS/clss149/clss149.html ->
         lang/CLSS/clss013/clss01310/clss01310.html

         tests/java_spec/src/CLSS/clss150/clss150.html ->
         lang/CLSS/clss013/clss01311/clss01311.html

         tests/java_spec/src/CLSS/clss151/clss151.html ->
         lang/CLSS/clss013/clss01312/clss01312.html

         tests/java_spec/src/NAME/name024/name024.html ->
         lang/NAME/name061/name06102/name06102.html

         tests/java_spec/src/PKGS/pkgs041/pkgs041.html ->
         lang/PKGS/pkgs020/pkgs02003/pkgs02003.html

      Attachments

        Activity

          People

            jrose John Rose
            lminersunw Linda Miner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: