7177211: SharedNameTable.create and .dispose are not used
authorpgovereau
Tue, 27 May 2014 14:23:55 -0400
changeset 24611 8848a1bca14f
parent 24610 8b3b718970a9
child 24612 75dc732b45af
7177211: SharedNameTable.create and .dispose are not used Reviewed-by: jjg
langtools/src/share/classes/com/sun/tools/javac/util/Names.java
--- a/langtools/src/share/classes/com/sun/tools/javac/util/Names.java	Tue May 27 22:26:53 2014 +0100
+++ b/langtools/src/share/classes/com/sun/tools/javac/util/Names.java	Tue May 27 14:23:55 2014 -0400
@@ -317,9 +317,9 @@
     protected Name.Table createTable(Options options) {
         boolean useUnsharedTable = options.isSet("useUnsharedTable");
         if (useUnsharedTable)
-            return new UnsharedNameTable(this);
+            return UnsharedNameTable.create(this);
         else
-            return new SharedNameTable(this);
+            return SharedNameTable.create(this);
     }
 
     public void dispose() {