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

TEST_BUG: RegTest-test java/lang/StringBuffer/Substring.java is incorrect

XMLWordPrintable

    • tiger
    • generic
    • generic
    • Verified



      Name: iaR10016 Date: 06/03/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b07
                        (This is a new test which is absent in JDK1.4.2-b24 and JDK1.5.0-b06 REGRESSION-test testbases)
      Testbase : RegTest-test
      Platform[s] : all
      switch/Mode : all
      Falling tests : java/lang/StringBuffer/Substring.java

      Regression-test test java/lang/StringBuffer/Substring.java does not run when Regression testsuite
      is executed using Javatest/jtreg. If I compile and run the test manually with JDK1.5.0-b07, it passes.

      Here is the source code fragment:

      --------- java/lang/StringBuffer/Substring.java ---------
      001> /* @test1.1 03/04/29
      002> * @bug 4853816
      003> * @summary Test StringBuffer.substring(int)
      004> */
      ---------------------------------------------------------

      The test correctly starts under Javatest and passes if I change line 1 to the following:

      ...
      001> /* @test 1.1 03/04/29
      ...

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: