Repository logo
 

Java Bytecode Verification for @NonNull Types

Loading...
Thumbnail Image

Date

2008

Journal Title

Journal ISSN

Volume Title

Publisher

Te Herenga Waka—Victoria University of Wellington

Abstract

Java's annotation mechanism allows us to extend its type system with non-null types. However, checking such types cannot be done using the existing bytecode verification algorithm. We extend this algorithm to verify non-null types using a novel technique that identifies aliasing relationships between local variables and stack locations in the JVM. We formalise this for a subset of Java Bytecode and report on experiences using our implementation.

Description

Keywords

Non-null type verification, Java programming, NullPointerExceptions

Citation