Discovering anomalies in access modifiers in Java with a formal specification

Wuu Yang*

*此作品的通信作者

研究成果: Article同行評審

2 引文 斯高帕斯(Scopus)

摘要

The Java programming language provides three access modifiers to control the visibility of the members of a class. Though identifying the weaknesses of the access modifiers from the informal semantics stated in the language manual is difficult, this does not mean that the access modifiers provide a sound ground for building secure programs. A rigorous study of the access modifiers with attribute grammars has uncovered several situations that are irregular or counterintuitive. These situations are confusing to programmers and may create weaknesses in Java programs.

原文English
頁(從 - 到)12-18
頁數7
期刊JOOP - Journal of Object-Oriented Programming
13
發行號10
出版狀態Published - 1 2月 2001

指紋

深入研究「Discovering anomalies in access modifiers in Java with a formal specification」主題。共同形成了獨特的指紋。

引用此