8167178: Exported elements referring to inaccessible types in java.naming
authorvtewari
Wed, 25 Jan 2017 15:31:01 +0530
changeset 43536 8212439a528c
parent 43535 7888ad60900f
child 43537 fe3858b549c8
8167178: Exported elements referring to inaccessible types in java.naming Reviewed-by: chegar, rriggs, alanb
jdk/src/java.naming/share/classes/javax/naming/CompoundName.java
--- a/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java	Mon Jan 23 16:31:49 2017 +0300
+++ b/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java	Wed Jan 25 15:31:01 2017 +0530
@@ -149,11 +149,10 @@
 public class CompoundName implements Name {
 
     /**
-      * Implementation of this compound name.
-      * This field is initialized by the constructors and cannot be null.
-      * It should be treated as a read-only variable by subclasses.
-      */
-    protected transient NameImpl impl;
+     * Implementation of this compound name. This field is initialized by the
+     * constructors and cannot be null.
+     */
+    private transient NameImpl impl;
     /**
       * Syntax properties for this compound name.
       * This field is initialized by the constructors and cannot be null.