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

Regression-test java/text/BreakIterator/CategoryMapTest.java fails

XMLWordPrintable

    • x86
    • linux, solaris_10, windows_xp



      Name: icR10030 Date: 09/25/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b20
      Testbase : Regression-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome), Windows XP Pro, Solaris 10 (x86) (CDE)
      switch/Mode : -client, -server
      Falling test[s]:
               java/text/BreakIterator/CategoryMapTest.java

      Regression-test java/text/BreakIterator/CategoryMapTest.java test fails with JDK1.5.0-b20
      The original bug 4899080 is closed as duplicate of 4893970, but 4893970 is closed as will not fix.
      Therefore, the test should be modified or excluded.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/text/BreakIterator/CategoryMapTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b20/regtest/linux/redhat_advserver21_gnome_smp_linux-24/workDir/test/java/text/BreakIterator/CategoryMapTest.jtr

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

      --- script start ---
      #!/bin/sh
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir

      #KOORI_ONESTOP is your path to koori.sfbay/onestop (/net/koori/onestop, /java/re)
      KOORI_ONESTOP="/java/re"
      #JPSE04 is your path to /net/jdk/export/jpse04
      JPSE04="/net/jdk/export/jpse04"

      #JT_HOME="/net/linux-15/export/home/java/jct"
      JT_HOME="$KOORI_ONESTOP/jct-tools/3.1.2/archive/fcs/binaries"
      #JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
      JEMMY_JAR="$JPSE04/Jemmy/jemmy.jar"
      #JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/linux"
      JAVA_HOME="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b20/binaries/linux-i586"

      #TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TEST_BASE_PATH="$KOORI_ONESTOP/jdk/1.5.0/promoted/all/b20/ws/j2se/test"


      TESTVMOPTS="-server"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

      TEST="java/text/BreakIterator/CategoryMapTest.java"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-24" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/$TEST"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(768/67832)----------
      Category conflict for a character(0xad). CharSet.categoryMap:Pd Character.getType():Cf
      Category conflict for a character(0x220). CharSet.categoryMap:Cn Character.getType():Lu
      Category conflict for a character(0x221). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x234). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x235). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x236). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x2ae). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x2af). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x2b9). CharSet.categoryMap:Cn Character.getType():Lm
      Category conflict for a character(0x2ba). CharSet.categoryMap:Cn Character.getType():Lm
      ...
      ...
      Category conflict for a character(0x19fa). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x19fb). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x19fc). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x19fd). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x19fe). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x19ff). CharSet.categoryMap:Cn Character.getType():So
      Category conflict for a character(0x1d00). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x1d01). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x1d02). CharSet.categoryMap:Cn Character.getType():Ll
      Category conflict for a character(0x1d03). CharSet.categoryMap:Cn Charact

      ..
      Output overflow:
      JavaTest has limited the test output to the text to that
      at the beginning and the end, so that you can see how the
      test began, and how it completed.

      If you need to see more of the output from the test,
      set the system property javatest.maxOutputSize to a higher
      value. The current value is 100000
      ..

      ):Sm
      Category conflict for a character(0x2a7b). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a7c). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a7d). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a7e). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a7f). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a80). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a81). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a82). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a83). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a84). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a85). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a86). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a87). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a88). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a89). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a8a). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a8b). CharSet.categoryMap:Cn Character.getType():Sm
      Category conflict for a character(0x2a8c). CharSet.categoryMap:Cn Character.getType():Sm
      ...
      ...
      Category conflict for a character(0xfe0b). CharSet.categoryMap:Cn Character.getType():Mn
      Category conflict for a character(0xfe0c). CharSet.categoryMap:Cn Character.getType():Mn
      Category conflict for a character(0xfe0d). CharSet.categoryMap:Cn Character.getType():Mn
      Category conflict for a character(0xfe0e). CharSet.categoryMap:Cn Character.getType():Mn
      Category conflict for a character(0xfe0f). CharSet.categoryMap:Cn Character.getType():Mn
      Category conflict for a character(0xfe45). CharSet.categoryMap:Cn Character.getType():Po
      Category conflict for a character(0xfe46). CharSet.categoryMap:Cn Character.getType():Po
      Category conflict for a character(0xfe47). CharSet.categoryMap:Cn Character.getType():Ps
      Category conflict for a character(0xfe48). CharSet.categoryMap:Cn Character.getType():Pe
      Category conflict for a character(0xfe73). CharSet.categoryMap:Cn Character.getType():Lo
      Category conflict for a character(0xff5f). CharSet.categoryMap:Cn Character.getType():Ps
      Category conflict for a character(0xff60). CharSet.categoryMap:Cn Character.getType():Pe
      java.lang.RuntimeException: Conflict occurred between Charset.categoryMap and Character.getType()
      at CategoryMapTest.main(CategoryMapTest.java:88)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:549)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Conflict occurred between Charset.categoryMap and Character.getType()
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Conflict occurred between Charset.categoryMap and Character.getType()
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Conflict occurred between Charset.categoryMap and Character.getType()


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Conflict occurred between Charset.categoryMap and Character.getType()


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro
      Hostname: linux-18
      OS: Solaris 10 (x86) (CDE)
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)



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

            peytoia Yuka Kamiya (Inactive)
            ichesunw Iche Iche (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: