Java class C++ class bundle fix