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

Cannot parsing java.policy which includes some 2 bytes char

XMLWordPrintable

    • mantis
    • x86
    • windows_2000
    • Verified

      Merlin(JRE) can not parse correctly the policy file that includes some
      2 bytes code character string.

      1. Reproduce

       1) Download and install j2re-1_4_0-win-i.exe
       2) Edit java.policy file
          -> Please use the attacehd java.policy file

       3) Open the java plug-in Control panel and set as follows.
           - Check "Enable Java Plug-in"
           - Check "Show Console"
           - Chech "Show Exception Dialog Box"

       4) Open the Internet Explorer and specify the URL which downloads an applet
          like "http://java.sun.com"

          -> You will see the Java Console show up

       5) The message,
             java.security.policy: error parsing
               file:D:/PROGRA~1/Java/J2RE14~1.0/lib/security/java.policy:
              line 12: expected [;], found [s]
          will appear at the end of the Java console.
          (Under Japanese Windows, the message is wrtten in Japanese.)


      2. Configration

         MPU : Pentium IV 1.4 [GHz]
         Mem : 384 [MB]
         OS : Windows 2000 SP2 (Japanese)
         Browser : Internet Explorer 5.5 SP2

      3. Attached files
         - java.policy : policy file as an sample
         - message-jp.txt : actual message under the Japanese Windows

      4. Note
         - We know only the String "Jikkou"(Japanese kanji) causes this issue
           so far.
           Even if this String is in a comment line, the above message appears.
        
      2002-04-12
      =============================================================================

            claisunw Charlie Lai (Inactive)
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: