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

(cs) Regression java/nio/charset/spi/basic.sh is failing on Solaris with NIS account

XMLWordPrintable

    • sparc
    • solaris

      =================================================================
      Regression test suite for Mantis b21
      http://meercat.sfbay:8080/shuna/i18n_regression/script/mantis/build21_04252003/
      Test case : java/nio/charset/spi/basic.sh
      JDK : Mantis b21
      OS : Solaris sparc 8/9(UR2)/10(b31), x86 8
      jct-tool:2.1.5/2.1.6
      =================================================================

      Regression test basic.sh is failed on Solaris due to exception as below;
      (For more deteil of err, please see attached file)
      -------------------------------------------------------------------------
      LC_ALL= where=ext security=empty-policy
      + /home/rs88024/jdk1.4.2/b21-sparc/j2sdk1.4.2/bin/java -cp /home/rs88024/regression/reg_merlin/JTwork/scratch/x.test -Djava.ext.dirs=/home/rs88024/regression/reg_merlin/JTwork/scratch/x.ext -Djava.security.manager Test US-ASCII 8859_1 iso-ir-6 UTF-16 windows-1252 !BAR cp1252 !FOO
      Default: eucJP-open
      Available: Big5 Big5-HKSCS EUC-JP EUC-KR FOO GB18030 GBK ISO-2022-JP ISO-2022-KR ISO-8859-1 ISO-8859-13 ISO-8859-15 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6 ISO-8859-7 ISO-8859-8 ISO-8859-9 JIS_X0201 JIS_X0212-1990 KOI8-R Shift_JIS TIS-620 US-ASCII UTF-16 UTF-16BE UTF-16LE UTF-8 windows-1250 windows-1251 windows-1252 windows-1253 windows-1254 windows-1255 windows-1256 windows-1257 windows-1258 windows-31j x-EUC-CN x-euc-jp-linux x-EUC-TW x-ISCII91 x-JIS0208 x-Johab x-MS950-HKSCS x-mswin-936 x-windows-949 x-windows-950
      US-ASCII --> sun.nio.cs.US_ASCII
        US-ASCII [ISO646-US, IBM367, ASCII, cp367, ascii7, ANSI_X3.4-1986, iso-ir-6, us, 646, iso_646.irv:1983, csASCII, ANSI_X3.4-1968, ISO_646.irv:1991]
      8859_1 --> sun.nio.cs.ISO_8859_1
        ISO-8859-1 [iso-ir-100, 8859_1, ISO_8859-1, ISO8859_1, 819, csISOLatin1, IBM-819, ISO_8859-1:1987, latin1, cp819, ISO8859-1, IBM819, ISO_8859_1, l1]
      iso-ir-6 --> sun.nio.cs.US_ASCII
        US-ASCII [ISO646-US, IBM367, ASCII, cp367, ascii7, ANSI_X3.4-1986, iso-ir-6, us, 646, iso_646.irv:1983, csASCII, ANSI_X3.4-1968, ISO_646.irv:1991]
      UTF-16 --> sun.nio.cs.UTF_16
        UTF-16 [UTF_16]
      windows-1252 --> sun.nio.cs.MS1252
        windows-1252 [cp1252]
      BAR not supported, as expected
      cp1252 --> sun.nio.cs.MS1252
        windows-1252 [cp1252]
      Exception in thread "main" java.lang.RuntimeException: FOO: Supported
              at Test.fail(Test.java:15)
              at Test.testNegative(Test.java:39)
              at Test.main(Test.java:66)
      -------------------------------------------------------------------------
      This test case is FAILED only seclurity=empty-policy.

      I excuted this test with my account.
      My account is rs88024 and my home directory is on NFS.
      I put this test case on local hard disk(/tmp) and tried again.
      However, this problem occurs.

      It seems that this failure is caused by using NIS account.
      Because this test case is PASSED with local user(that is , home directory is on local hard disk) and local hard disk(/tmp).

      But, when I tested this test case on Mantis b19/Solairs 9(UR2) with NIS account,
      it was PASSED.
      However, now, this test case is FAILED with Mantis b19/Solaris 9(UR2) with NIS account.
      I don't know why it was PASSED before and why it is FAILED now with the same machine, binariry.

      ** NOTE **
      This problem does not occur with local user, however, as it is unclear which user(NIS or local) should be used on this test, I filed this problem as a bug.

      As basic.sh is under java/nio dir, I filed Category/Subcategry as a java/classes_nio.
      If these are not properly, please change them.


      [###@###.### 2003-04-28]

            Unassigned Unassigned
            rsuzukisunw Rieko Suzuki (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: