Update according to stdlib changes

Add not null assertion call for javaClass