changeset 16636:33e6f9b9e3b5

8167178: Exported elements referring to inaccessible types in java.naming Reviewed-by: chegar, rriggs, alanb
author vtewari
date Wed, 25 Jan 2017 15:31:01 +0530
parents 825a12434329
children 955d8b6ded80
files src/java.naming/share/classes/javax/naming/CompoundName.java
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.naming/share/classes/javax/naming/CompoundName.java	Mon Jan 23 16:31:49 2017 +0300
+++ b/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.