< prev index next >
make/src/classes/build/tools/charsetmapping/SBCS.java
Print this page
rev 17642 : 8186517: sun.nio.cs.StandardCharsets$Aliases and Classes can be lazily loaded
Reviewed-by: sherman, martin, plevart
*** 159,169 ****
line = line.replace("$NAME_CS$", csName);
}
if (line.indexOf("$NAME_ALIASES$", i) != -1) {
if ("sun.nio.cs".equals(pkgName))
line = line.replace("$NAME_ALIASES$",
! "StandardCharsets.aliases_" + clzName);
else
line = line.replace("$NAME_ALIASES$",
"ExtendedCharsets.aliasesFor(\"" + csName + "\")");
}
if (line.indexOf("$NAME_HIS$", i) != -1) {
--- 159,169 ----
line = line.replace("$NAME_CS$", csName);
}
if (line.indexOf("$NAME_ALIASES$", i) != -1) {
if ("sun.nio.cs".equals(pkgName))
line = line.replace("$NAME_ALIASES$",
! "StandardCharsets.aliases_" + clzName + "()");
else
line = line.replace("$NAME_ALIASES$",
"ExtendedCharsets.aliasesFor(\"" + csName + "\")");
}
if (line.indexOf("$NAME_HIS$", i) != -1) {
< prev index next >