fix compile error in OldCoreClasses.java