Fix for Issue #420.
Added a workaround for jdk1.6 GenericArrayTypeImpl issue.