-
Bug
-
Resolution: Fixed
-
P2
-
7
-
b120
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2200205 | 6u30 | Mala Bankal | P3 | Closed | Won't Fix |
Currently Oracle Translation Factory can not support jdk/src/share/classes/sun/security/util/Resources.java because of two problems in the file.
1. There are few messages with message ids longer than 255 characters.
For example:
------------------------------------------
{"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name.",
"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name."}
------------------------------------------
The message id will be converted to segment ID (SID) and
Oracle translation factory does not support SIDs longer than
255 characters. The solution is to modify the message key:
------------------------------------------
{"warning.filename.backslash",
"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name."}
2. There are other messages where source English text is used in the message id like:
------------------------------------------
{"Keystore file exists, but is empty: ",
"Keystore file exists, but is empty: "},
------------------------------------------
Please change the ids to real message keys:
------------------------------------------
{"keystore.file.empty",
"Keystore file exists, but is empty: "},
1. There are few messages with message ids longer than 255 characters.
For example:
------------------------------------------
{"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name.",
"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name."}
------------------------------------------
The message id will be converted to segment ID (SID) and
Oracle translation factory does not support SIDs longer than
255 characters. The solution is to modify the message key:
------------------------------------------
{"warning.filename.backslash",
"Warning: File name may include escaped backslash characters. " +
"It is not necessary to escape backslash characters " +
"(the tool escapes characters as necessary when writing " +
"the policy contents to the persistent store).\n\n" +
"Click on Retain to retain the entered name, or click on " +
"Edit to edit the name."}
2. There are other messages where source English text is used in the message id like:
------------------------------------------
{"Keystore file exists, but is empty: ",
"Keystore file exists, but is empty: "},
------------------------------------------
Please change the ids to real message keys:
------------------------------------------
{"keystore.file.empty",
"Keystore file exists, but is empty: "},
- backported by
-
JDK-2200205 NLS: security/util/Resources.java cannot be processed by translation team
-
- Closed
-