changeset 3370:70c37804003a

7177211: SharedNameTable.create and .dispose are not used Reviewed-by: jjg
author pgovereau
date Tue, 27 May 2014 14:23:55 -0400
parents df54b4b79988
children abbc15936e1b
files src/share/classes/com/sun/tools/javac/util/Names.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/com/sun/tools/javac/util/Names.java	Tue May 27 22:26:53 2014 +0100
+++ b/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() {