Seattle Java User's Group
[ start | index | login or register ]
start > 2009-04-13 > 1

2009-04-13 #1

Created by admin. Last edited by admin, 319 days ago. Viewed 607 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

21 Apr 2009 : Detecting and preventing bugs with pluggable type-checking

Speaker: Michael Ernst

Type-checking helps to detect and prevent errors.  However, Java's built-in types are incapable of expressing important information, such as whether a variable may be null, whether a value is intended to be side-effected, or whether a String is interned.  As a result, a type-correct program can suffer from null pointer exceptions, undesired mutations, improper equality testing, and many other types of problems.

Pluggable types (User-defined extensions to the type system) can detect such errors, prevent them, or verify their absence.  This talk presents the Checker Framework, a practical pluggable type system for Java.  The framework is compatible with all versions of Java; furthermore, Java 7 will contain syntactic support for it, in the form of type annotations.

The Checker Framework benefits programmers by improving documentation and eliminating bugs.  It is intuitive to use and requires few annotations, so the burden on programmers is small. The Checker Framework also makes it easy to create new, custom checkers that verify important properties specific to your own code.

The Checker Framework is publicly available at:
  >>http://groups.csail.mit.edu/pag/jsr308/

Note that a video of this presentation is available at:
>>http://www.vimeo.com/4368251

no comments | post comment
Describe here what your SnipSnap is about!

Configure this box!

  1. Login in
  2. Click here: snipsnap-portlet-2
  3. Edit this box
snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt