java_gen: fix compile after changes to experimenter
fix virtual class reader