Fixed a stupid mistake that NonJavaSerializableClass was made Java
serializable.