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

Regression java/util/Locale/ThaiGov.java can not be ran due to an error

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta
    • CPU:
      generic, x86
    • OS:
      generic, windows_2000
    • Verification:
      Verified

      Description

      Regression test suite for hopper build 11:
      got from
      http://meercat.sfbay:8080/shuna/i18n_regression/script/hopper/build11_05092002/
      JDK : hopper b11
      OS : winXP Home(32) japanese / Solaris 9 (euc)


      Running ThaiGov.java with jtreg, this program occurs error "Parse Excepion:No value provided
      for @bug" and can not be launched.

      Looking the detail of error, I think ThaiGov.java needs to be modified.


      Here is a part of header in ThaiGov.java
      ===========================================
      **
       * @test @(#)ThaiGov.java 1.2 02/04/15
       * @bug
       * @author John O'Conner
       *
       */
      ===========================================


      I guess ThaiGov.java should be added BugID in @bug tag.
      So, I wonder if this error has a problem in a test case.


      -----------------------------------------------------------------------------
      #Test Results (version 2)
      #Fri May 10 10:32:42 JST 2002
      #checksum:79e9f1ded2d00ff5
      #-----testdescription-----
      $file=X:\\regression\\reg_merlin\\test\\java\\util\\Locale\\ThaiGov.java
      $root=X:\\regression\\reg_merlin\\test
      author=John O'Conner
      error=Parse Exception: No value provided for `@bug'
      run=ASSUMED_ACTION main ThaiGov\r\n
      source=ThaiGov.java
      title=

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

      #-----testresult-----
      description=file:///X:/regression/reg_merlin/test/java/util/Locale/ThaiGov.java
      end=Fri May 10 10:32:42 JST 2002
      environment=regtest
      execStatus=Error. Parse Exception: No value provided for `@bug'
      javatestOS=Windows XP 5.1 (x86)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages
      start=Fri May 10 10:32:42 JST 2002
      status=Error. Parse Exception: No value provided for `@bug'
      test=java/util/Locale/ThaiGov.java
      work=X:\\regression\\reg_merlin\\JTwork\\java\\util\\Locale

      #section:script_messages
      ----------messages:(1/68)----------
      JDK under test: java full version "1.4.1-beta-b11" (F:/j2sdk1.4.1)


      test result: Error. Parse Exception: No value provided for `@bug'
      ===============================================================================

      I tried to verify this problem with regression test suite b12 and hopper b12 on windows 2000 Prof/japanese and Solaris 8 sparc(euc).
      However, I can not verify completly.

      I confirmed that the original bug-"missing bug number in @bug tag" is modified.
      However, running this test case, RuntimeException occurs and the result is "FAILED".


      #Test Results (version 2)
      #Tue May 21 14:35:14 JST 2002
      #checksum:1ddcfa8e20655ffc
      #-----testdescription-----
      $file=/home/rs88024/regression/reg_merlin/test/java/util/Locale/ThaiGov.java
      $root=/home/rs88024/regression/reg_merlin/test
      author=John O'Conner
      keywords=bug4474409
      run=ASSUMED_ACTION main ThaiGov\n
      source=ThaiGov.java
      title=

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

      #-----testresult-----
      description=file:///home/rs88024/regression/reg_merlin/test/java/util/Locale/ThaiGov.java
      end=Tue May 21 14:35:14 JST 2002
      environment=regtest
      execStatus=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException
      javatestOS=SunOS 5.8 (sparc)
      javatestVersion=2.1.5
      script=com.sun.javatest.regtest.RegressionScript
      sections=script_messages build compile main
      start=Tue May 21 14:35:09 JST 2002
      status=Failed. Execution failed: `main' threw exception: java.lang.RuntimeException
      test=java/util/Locale/ThaiGov.java
      work=/home/rs88024/regression/reg_merlin/JTwork/java/util/Locale

      #section:script_messages
      ----------messages:(1/95)----------
      JDK under test: java full version "1.4.1-beta-b12" (/home/rs88024/jdk1.4.1/b12-sol/j2sdk1.4.1)

      #section:build
      ----------messages:(3/93)----------
      command: build ThaiGov
      reason: Named class compiled on demand
      elapsed time (seconds): 3.822
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/169)----------
      command: compile /home/rs88024/regression/reg_merlin/test/java/util/Locale/ThaiGov.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 3.817
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/113)----------
      command: main ThaiGov
      reason: Assumed action based on file name: run main ThaiGov
      elapsed time (seconds): 1.739
      ----------System.out:(4/105)----------
      ThaiGov locale test...
      Running numberTest...Finished
      Running currencyTest...Finished
      Running dateTest...
      ----------System.err:(14/679)----------
      java.lang.RuntimeException
              at ThaiGov.dateTest(ThaiGov.java:96)
              at ThaiGov.main(ThaiGov.java:111)
              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:94)
              at java.lang.Thread.run(Thread.java:536)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException


      * If this problem needs to be filed as a other bug, please let me know.
        I will file it.

      Regression test suite for hopper build 12:
      http://meercat.sfbay:8080/shuna/i18n_regression/script/hopper/build12_05202002/
      JDK : hopper b12
      OS : Windows 2000 Prof. japanese / Solaris 8 sparc(euc)



      [###@###.### 2002-05-21]
      ================================================================================
      The original bus is gone using b12.
      I filed a new bug #4689172 for tne new problem I found.

      This original bug's fix can be verified.


      [###@###.### 2002-05-22]
      ===============================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              joconnersunw John Oconner (Inactive)
              Reporter:
              rsuzukisunw Rieko Suzuki (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: