change in -deprecation behaviour causes regtest failure: depDocComment

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.1
    • Affects Version/s: 1.4.0
    • Component/s: tools
    • hopper
    • generic
    • generic
    • Verified

      Date: Mon, 11 Dec 2000 08:17:39 -0800 (PST)
      From: xxx
      To: xxx
      Subject: broken test: test/tools/javac/depDocComment
      Cc: xxx

      The nightly test from TL failed because the test you created -
      test/tools/javac/depDocComment - did not pass. It appears the
      reference file is requiring a deprecation diagnostic for a
      translation unit that contains a syntax error. Please fix or
      remove the regression test.

      See file:///net/frog/gafter/tl-1.4-nightly/JTreport/report.html
      for a summary of the test run.

      - Neal


      JTR file:

      #Test Results (version 2)
      #Mon Dec 11 02:11:02 GMT-08:00 2000
      #checksum:518db130f7fd3845
      #-----testdescription-----
      $file=/net/frog/gafter/tl-1.4-nightly/test/tools/javac/depDocComment/DeprecatedDocComment.
      java
      $root=/net/frog/gafter/tl-1.4-nightly/test
      author=Jing Qian
      keywords=bug4241231 shell
      run=USER_SPECIFIED shell DeprecatedDocComment.sh\n
      source=DeprecatedDocComment.java
      title=Make sure the compiler scans for deprecated tag in legal docComment only

      #-----environment-----

      #-----testresult-----
      description=file:///net/frog/gafter/tl-1.4-nightly/test/tools/javac/depDocComment/Deprecat
      edDocComment.java
      end=Mon Dec 11 02:11:02 GMT-08:00 2000
      environment=regtest
      execStatus=Failed. Execution failed: exit code 1
      javatestOS=SunOS 5.7 (sparc)
      javatestVersion=2.1.4
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages shell
      start=Mon Dec 11 02:11:01 GMT-08:00 2000
      status=Failed. Execution failed: exit code 1
      test=tools/javac/depDocComment/DeprecatedDocComment.java
      work=/net/frog/gafter/tl-1.4-nightly/JTwork/tools/javac/depDocComment

      #section:script_messages
      ----------messages:(1/118)----------
      JDK under test: java full version "1.4.0internal--001211-01:49" (/net/frog/gafter/tl-1.4-n
      ightly/build/solaris-sparc)

      #section:shell
      ----------messages:(3/136)----------
      command: shell DeprecatedDocComment.sh
      reason: User specified action: run shell DeprecatedDocComment.sh
      elapsed time (seconds): 1.584
      ----------System.out:(31/1191)----------
      TESTSRC=/net/frog/gafter/tl-1.4-nightly/test/tools/javac/depDocComment
      TESTJAVA=/net/frog/gafter/tl-1.4-nightly/build/solaris-sparc
      TESTCLASSES=/net/frog/gafter/tl-1.4-nightly/JTwork/classes/tools/javac/depDocComment
      CLASSPATH=
      DeprecatedDocComment.java:36: unclosed comment
            /**
            ^
      DeprecatedDocComment.java:43: ';' expected

      ^
      2 errors
      *** /net/frog/gafter/tl-1.4-nightly/test/tools/javac/depDocComment/DeprecatedDocComment.ou
      t Mon Nov 20 11:23:58 2000
      --- /tmp/temp1_2229 Mon Dec 11 02:11:02 2000
      ***************
      *** 4,17 ****
        DeprecatedDocComment.java:43: ';' expected
        
        ^
      - DeprecatedDocComment.java:27: warning: deprecatedTest1() in DeprecatedDocComment2 has be
      en deprecated
      - DeprecatedDocComment2.deprecatedTest1();
      - ^
      - DeprecatedDocComment.java:31: warning: deprecatedTest5() in DeprecatedDocComment2 has be
      en deprecated
      - DeprecatedDocComment2.deprecatedTest5();
      - ^
      - DeprecatedDocComment.java:32: warning: deprecatedTest6() in DeprecatedDocComment2 has be
      en deprecated
      - DeprecatedDocComment2.deprecatedTest6();
      - ^
        2 errors
      - 3 warnings
      --- 4,7 ----
      Failed
      ----------System.err:(0/0)----------
      result: Failed. Execution failed: exit code 1


      test result: Failed. Execution failed: exit code 1

            Assignee:
            Neal Gafter (Inactive)
            Reporter:
            Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: