jdk/make/src/classes/build/tools/charsetmapping/SBCS.java
changeset 47026 94c45ad89b9c
parent 33663 2cd62a4bd471
--- a/jdk/make/src/classes/build/tools/charsetmapping/SBCS.java	Wed Aug 30 10:09:13 2017 -0700
+++ b/jdk/make/src/classes/build/tools/charsetmapping/SBCS.java	Wed Aug 30 20:12:53 2017 +0200
@@ -161,7 +161,7 @@
             if (line.indexOf("$NAME_ALIASES$", i) != -1) {
                 if ("sun.nio.cs".equals(pkgName))
                     line = line.replace("$NAME_ALIASES$",
-                                        "StandardCharsets.aliases_" + clzName);
+                                        "StandardCharsets.aliases_" + clzName + "()");
                 else
                     line = line.replace("$NAME_ALIASES$",
                                         "ExtendedCharsets.aliasesFor(\"" + csName + "\")");