...
One noteworthy exception to this guideline pertains to classes that implement the
java.lang.Cloneable
interface. In these cases, the accessibility of theObject.clone
method should be increased fromprotected
topublic
.
Risk Assessment
Subclassing allows access restrictions to be weakened, possibly compromising the security of a Java application.
...