Fix #1696 - Fix crash in Java CLASS parser