Java Programmer Perils
نویسندگان
چکیده
Java is the latest programming language technology to be touted as the programming language solution to the most di cult software engineering problems. Developers expect Java to help them to write programs that are more reliable, secure, and easier to debug. Unfortunately, some features of Java are destined to increase programmer stress by providing obscure places for bugs to hide. We discuss seven such Java features and show that these features can lead to bugs that are di cult to x.
منابع مشابه
Exploiting Adaptation in a Java Virtual Machine to Enable Both Programmer Productivity and Performance for Heterogeneous Devices
Exploiting Adaptation in a Java Virtual Machine to Enable Both Programmer Productivity and Performance for Heterogeneous Devices
متن کاملThe Cost of Erasure in Java Generics Type System
Java generics, found in versions 1.5 and later, are implemented by generating only one byte code representation of a generic type or method; a compiler maps all the instantiations of a generic type or method to that unique representation via type erasure. The essence of type erasure is the removal during compilation of all information that is related to type parameters and type arguments. From ...
متن کاملBytecode Analysis for Checking Java Access Modifiers
The access modifiers for Java are a mechanism for information hiding and therefore especially important for large projects. An access modifier that is too restrictive is reported as a compilation error. An access modifier that could be more restrictive is however not reported at all. On the long run, changes to a project lead to less restrictive modifiers, if the programmer does not actively wo...
متن کاملClass Loading Issues in JavaTM RMI and JiniTM Network Technology
Java class loading plays a key role in the Java Remote Method Invocation (Java RMI) and Jini architectures by enabling code mobility over the network. However, it has also saddled these architectures with a set of type compatibility and code downloading issues that commonly result in run-time errors and programmer confusion. This paper describes the Java RMI class loading model and examines its...
متن کامل