-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
1.3.1
-
x86
-
windows_2000
Name: gm110360 Date: 12/13/2001
java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-b24)
OJVM Client VM (build 5.0.487 cdov, Copyright (c) 1998-2001 Oracle Corp.,
nojit)
When passing in a value for the http.proxyHost system property on the command
line when invoking AppletViewer (using -Dhttp.proxyHost=myproxy.com, for
example), AppletViewer causes the following message to be printed out:
Warning: Temporarily overwriting system property at users request: key: {0} old
value: {1} new value: {2}
It appears that AppletViewer is passing in a bad string into MessageFormat. In
particular, the key "appletviewer.main.warn.prop.overwrite" in
sun.applet.resource.MsgAppletViewer appears to contain a single instance of the
single-quote character instead of a properly escaped double instance (user's
should be user''s).
The result is a message that is confusing, instead of one that tells the user
exactly what property is being overwritten, and with what value.
(Review ID: 136308)
======================================================================
- relates to
-
JDK-4445604 broken I18N message
-
- Closed
-