fix bug in class reader where it tries to read more constant pool objects than exists due to length of doubles and longs