DynamicJava: Fixed the erasure cast check. It was not correctly handling null values.
Authored by: dlsmith 2008-03-27
Parent: [r4419]
Child: [r4421]