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

uncrunch writes corrupt version of i18n.jar

    XMLWordPrintable

    Details

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

      Description

      Name: iaR10016 Date: 04/24/2001

      JDK : JDK1.4.0 beta-b61
      JCK : JCK1.3a
      Platform[s] : Windows 95, Windows 98, Windows ME
      switch/Mode : plugin, Netscape Navigator 4.7
      JCK test owner : http://javaweb.eng/jct/sqe/JCK-tck/usr/owners.jto
      Failing Test : api/java_util/GregorianCalendar/index.html#Ctor

      Test source location:
      =====================
      /net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/GregorianCalendar/CtorTests.java

      jtr file location:
      ==================
      /net/jtgb4u4c.eng/export/sail16/results/merlin/b61/jck13a/win32/win95_plugin_ns4.7_linux-19/workDir/api/java_util/GregorianCalendar/index_Ctor.jtr

      How to reproduce:
      ====================

      1. Compile test.java using the following script under Windows OS
      (probably, you need to change JCK and JAVA_HOME paths):

      --------Script START---------------------
      #!/bin/sh
      JAVA_HOME=/net/jdk/export/disk8/local.java/jdk1.4/linux-i386
      JCK=/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14
      export CLASSPATH=".;$JCK/classes;$JCK/javatest.jar"
      $JAVA_HOME/bin/javac test.java
      ---------Script end----------------------

      ---------test.java-----------------------
      import java.applet.*;
      import javasoft.sqe.tests.api.java.util.GregorianCalendar.CtorTests;

      public class test extends Applet{
          static String[] arg={};
          public void init() { run(); }
          public void start() {}
          public void stop() {}
          public static void main (String [] args ) { run(); }

          public static void run () {
              CtorTests t = new CtorTests();
              t.run(arg, System.err, System.out);
          }
      }
      -----------------------------------------

      2. Set Java Runtime Parameters in the Java Plug-in Control panel to
      "-cp .;<JCK_PATH>/classes;<JCK_PATH>/javatest.jar"
      (you need to change JCK path)

      3. Open the test.html file in the Netscape Navigator window:

      ---------test.html-----------------------
      <html>
      <EMBED type=application/x-java-applet
         width=600 height=400
         codebase=file:".;H:/jck1.3a/JCK-runtime-13a/classes;H:/jck1.3a/JCK-runtime-13a/javatest.jar"
         code=test
      >
      -----------------------------------------

      4. Please, note that the test passes when running on the same computer not under plugin.

      Test output:
      =============
      GregorianCalendar2001: Passed. OKAY
      GregorianCalendar0001: Passed. OKAY
      GregorianCalendar0002: Passed. OKAY
      GregorianCalendar0003: Passed. OKAY
      GregorianCalendar0004: Passed. OKAY
      GregorianCalendar0005: Passed. OKAY
      GregorianCalendar0006: Passed. OKAY
      GregorianCalendar0007: Passed. OKAY
      GregorianCalendar0008: Passed. OKAY
      GregorianCalendar0009: Failed. public GregorianCalendar(TimeZone zone, Locale locale)
      GregorianCalendar0010: Passed. OKAY
      GregorianCalendar0011: Passed. OKAY
      GregorianCalendar0012: Passed. OKAY
      GregorianCalendar0013: Passed. OKAY
      GregorianCalendar0014: Passed. OKAY
      GregorianCalendar0015: Passed. OKAY
      GregorianCalendar0016: Passed. OKAY
      GregorianCalendar0017: Passed. OKAY
      GregorianCalendar0018: Passed. OKAY
      GregorianCalendar0019: Passed. OKAY
      GregorianCalendar0020: Passed. OKAY
      GregorianCalendar0021: Passed. OKAY
      GregorianCalendar0022: Passed. OKAY
      GregorianCalendar0023: Passed. OKAY
      GregorianCalendar0024: Passed. OKAY
      result: Failed. tests: 25; passed: 24; failed: 1; first test case failure: GregorianCalendar0009

      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set FirstDayOfWeek field
        Locale: de
        expected value: 2
        set value: 1
      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set MinimalDaysInFirstWeek field
        Locale: de
        expected value: 4
        set value: 1
      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set FirstDayOfWeek field
        Locale: en_GB
        expected value: 2
        set value: 1
      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set FirstDayOfWeek field
        Locale: fr
        expected value: 2
        set value: 1
      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set FirstDayOfWeek field
        Locale: it
        expected value: 2
        set value: 1
      GregorianCalendar(TimeZone zone, Locale locale) incorrectly set MinimalDaysInFirstWeek field
        Locale: it
        expected value: 4
        set value: 1

      Specific Machine Info:
      =====================
      Hostname: linux-16
      OS: Windows 98

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

      Note: We had a recent failure in the InternaltionalBAT regresssion test
      for this bug. However, the failure was on Solaris and is thus presumably
      unrelated to uncrunch, which is only used on win32. I have moved the
      data on the new bug to a new bug report #4497152.

      ###@###.### 2001-08-28

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ghamiltosunw Graham Hamilton (Inactive)
              Reporter:
              irasunw Ira Ira (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: