Fixed a memory table leak not caching the Java class in memory