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

closed/java/util/Calendar/CalendarTestScripts/JapaneseRollTests.sh execution failed on Windows 7

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 9
    • 7, 8, 9
    • core-libs
    • b134
    • generic
    • windows_7

    Description

      Test platform info:
      OS: Windows 7 6.1 (x86) with Cygwin

      Region and Language in Windows Control Panel:
      Format:Hindi(India); Current location:India; Display language:Hindi; System locale:English (United States)

      java version "1.7.0"
      Java(TM) SE Runtime Environment (build 1.7.0-b147)
      Java HotSpot(TM) Client VM (build 21.0-b17, mixed mode, sharing)

      closed/java/util/Calendar/CalendarTestScripts/JapaneseRollTests.sh execution failed, attached jtr file for your reference.

      ----------System.out:(0/0)----------
      ----------System.err:(34/3157)*----------
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:9: warning: CalendarUtils is internal proprietary API and may be removed in a future release
      import sun.util.calendar.CalendarUtils;
                              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:32: warning: BuddhistCalendar is internal proprietary API and may be removed in a future release
              if (cal instanceof sun.util.BuddhistCalendar) {
                                         ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:357: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(YEAR), 4).append('-');
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:358: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(MONTH)+1, 2).append('-');
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:359: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(DAY_OF_MONTH), 2);
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:365: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(HOUR_OF_DAY), 2).append(':');
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:366: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(MINUTE), 2).append(':');
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:367: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(SECOND),2 ).append('.');
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:368: warning: CalendarUtils is internal proprietary API and may be removed in a future release
              CalendarUtils.sprintf0d(sb, cal.get(MILLISECOND), 3);
              ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:384: warning: CalendarUtils is internal proprietary API and may be removed in a future release
                  CalendarUtils.sprintf0d(sb, offset / 60, 2);
                  ^
      C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\src\\CalendarAdapter.java:385: warning: CalendarUtils is internal proprietary API and may be removed in a future release
                  CalendarUtils.sprintf0d(sb, offset % 60, 2);
                  ^
      11 warnings
      result: Passed. Compilation successful

      #section:compile
      ----------messages:(3/278)*----------
      command: compile C:\\jdk\\build147_06302011\\test\\closed\\java\\util\\Calendar\\CalendarTestScripts\\japanese\\JapaneseRollDayOfWeekTestGenerator.java
      reason: User specified action: run compile japanese/JapaneseRollDayOfWeekTestGenerator.java
      elapsed time (seconds): 0.811
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:shell
      ----------messages:(3/135)----------
      command: shell JapaneseRollTests.sh []
      reason: User specified action: run shell JapaneseRollTests.sh
      elapsed time (seconds): 2.904
      ----------System.out:(27/677)----------
      Generate test data for 3 years.
      Starting tz_japan.cts...
      Completed tz_japan.cts
      Starting lenient.cts...
      Completed lenient.cts
      Starting rolldow.cts...
      Test#?: Showa ??
      Starting tz_japan.cts...
      Completed tz_japan.cts
      Starting non-lenient.cts...
      Completed non-lenient.cts
      Starting rolldow.cts...
      rolldow.cts:2: jcal is non-lenient
      Test#?: Showa ??
      Starting tz_pst.cts...
      Completed tz_pst.cts
      Starting lenient.cts...
      Completed lenient.cts
      Starting rolldow.cts...
      Test#?: Showa ??
      Starting tz_pst.cts...
      Completed tz_pst.cts
      Starting non-lenient.cts...
      Completed non-lenient.cts
      Starting rolldow.cts...
      rolldow.cts:2: jcal is non-lenient
      Test#?: Showa ??
      ----------System.err:(28/1628)----------
      Exception in thread "main" java.lang.RuntimeException: rolldow.cts:8: Unexpected exception
          at CalendarTestEngine.run(CalendarTestEngine.java:79)
          at CalendarTestEngine.main(CalendarTestEngine.java:32)
      Caused by: java.lang.RuntimeException: rolldow.cts:8: Unknown token: ?
          at CalendarTestEngine.getInt(CalendarTestEngine.java:699)
          at CalendarTestEngine.run(CalendarTestEngine.java:417)
          ... 1 more
      Exception in thread "main" java.lang.RuntimeException: rolldow.cts:8: Unexpected exception
          at CalendarTestEngine.run(CalendarTestEngine.java:79)
          at CalendarTestEngine.main(CalendarTestEngine.java:32)
      Caused by: java.lang.RuntimeException: rolldow.cts:8: Unknown token: ?
          at CalendarTestEngine.getInt(CalendarTestEngine.java:699)
          at CalendarTestEngine.run(CalendarTestEngine.java:417)
          ... 1 more
      Exception in thread "main" java.lang.RuntimeException: rolldow.cts:8: Unexpected exception
          at CalendarTestEngine.run(CalendarTestEngine.java:79)
          at CalendarTestEngine.main(CalendarTestEngine.java:32)
      Caused by: java.lang.RuntimeException: rolldow.cts:8: Unknown token: ?
          at CalendarTestEngine.getInt(CalendarTestEngine.java:699)
          at CalendarTestEngine.run(CalendarTestEngine.java:417)
          ... 1 more
      Exception in thread "main" java.lang.RuntimeException: rolldow.cts:8: Unexpected exception
          at CalendarTestEngine.run(CalendarTestEngine.java:79)
          at CalendarTestEngine.main(CalendarTestEngine.java:32)
      Caused by: java.lang.RuntimeException: rolldow.cts:8: Unknown token: ?
          at CalendarTestEngine.getInt(CalendarTestEngine.java:699)
          at CalendarTestEngine.run(CalendarTestEngine.java:417)
          ... 1 more
      result: Failed. Execution failed: exit code 1
      test result: Failed. Execution failed: exit code 1

      Attachments

        Activity

          People

            peytoia Yuka Kamiya (Inactive)
            psun Peng Sun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: