Added check for null output and correctly adding recompiled class in case when .class file is higher version than the current JVM