...
Wiki Markup |
---|
This compliant solution installs a security manager check in the constructor of the non-final class. Access is denied if it is detected that a subclass is trying to instantiate the superclass. Only if the subclass has the requisite permissions, willis it be ableallowed to proceed. \[[SCG 07|java:AA. Java References#SCG 07]\] |
...