From dc09e00a6e15acd78024da550eb42c3b5b8ffc47 Mon Sep 17 00:00:00 2001 From: Vyom Tewari Date: Wed, 25 Jan 2017 15:31:01 +0530 Subject: [PATCH] 8167178: Exported elements referring to inaccessible types in java.naming Reviewed-by: chegar, rriggs, alanb --- .../share/classes/javax/naming/CompoundName.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java b/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java index aa4b4eb252c..cbdcd00bdab 100644 --- a/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java +++ b/jdk/src/java.naming/share/classes/javax/naming/CompoundName.java @@ -149,11 +149,10 @@ import java.util.Properties; 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.