-
Bug
-
Resolution: Fixed
-
P2
-
1.4.0
-
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
=============================================================================
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
=============================================================================
- relates to
-
JDK-4495331 Swing and swing demos should not use default version of InputStreamReader()
-
- Resolved
-
-
JDK-8220199 Remove support for "sun.security.policy.utf8" system property
-
- Closed
-
-
JDK-4371865 java and appletviewer Fail to Run with Windows 2000 Unicode Locales
-
- Closed
-
-
JDK-4459099 J2RE can't run on Windows 2000 Hindi locale
-
- Closed
-