Verify that reading nulls for missing classes works for JDK-adapted
streams