8167178: Exported elements referring to inaccessible types in java.naming
Reviewed-by: chegar, rriggs, alanb
--- 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.