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

pattern matcher test for regular expressions failed in 6.0 b14

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • core-libs
    • b17
    • generic
    • generic
    • Verified

      The following 5 testcases failed with mustang b14, but passed with mustang b13.
      Tested this with Solaris-Sparc build.

      // The data below contains test cases for regular expressions.
      // A test case consists of three lines:
      // The first line is a pattern used in the test
      // The second line is the input to search for the pattern in
      // The third line is a concatentation of the match, the number of groups,
      // and the contents of the first four subexpressions.

      1. [\uD800-\uDFFF]
         \uD800\uDFFF
         false 0
      2. // Unions
         [\u0000-\uD800[\uDFFF-\uFFFF]]
         \uD800\uDFFF
         false 0
      3. [\u0000-\uDFFF&&[\uD800-\uFFFF]]
         uD800\uDFFF
         false 0
      4. \uD800*\uDFFF
         \uD800\uDFFF
         false 0
      5. \uDFFF\uD800+
         \uDFFF\uD800\uDFFF\uD800
         false 0

      These testcases pass with mustang b13

      Tests are located at
      /net/sqesvr-nfs.sfbay/global/nfs/i18n/workspaces/i18n_mustang_ws
      README.txt is located at i18n_mustang_ws/i18n/docs

      The RegTest.java is at i18n_mustang_ws/i18n/src/GS-Tonga/Regex/RegTest.java
      data for this test is at i18n_mustang_ws/i18n/data/shared/RegexSupplementaryTests.txt

      After the compilation, you can execute the test with the following steps
      1. setenv JAVA_HOME b14
      2. cd i18n_mustang_ws/i18n/bin
      3. sh runnit.sh -keywords:"regex"

      the results will be generated at i18n_mustang_ws/i18n/results

      Testing results with b13 and b14 are attached






      ###@###.### 2004-12-07 02:28:01 GMT

            sherman Xueming Shen
            shuwu Shuna Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: