- skip empty include/exclude entries in Remapper::shouldRemap to avoid
calling back() on an empty std::string (undefined behavior)
- null-check new_class_data_len/new_classbytes in JuiceRemapperService
before writing remapped bytes back to the JVMTI callback
- add Agent::initialized_ guard so init() is a no-op on second call,
preventing duplicate service instantiation and listeners
- add thread-safe include/exclude sets to Remapper; shouldRemap matches
exact name, package prefix (trailing '/'), or nested class ('\$' after
the prefix), with exclude taking priority
- remapping stays OFF by default: an empty include set remaps nothing;
it is only enabled once addInclude is called (no config include)
- implement addInclude/addExclude/removeInclude/removeExclude/
clearIncludes/clearExcludes JNI bindings
- apply shouldRemap filter in JuiceRemapperService::onClassFileLoadHook
- add JuiceRemapperService that listens for ClassFileLoadHook and calls
the Java static Remap.remap(String, byte[]) via cached JNI declarations,
then writes the returned bytes back to the JVMTI callback
- add JNI bindings (initNative, add/remove/clear include/exclude) with
Remapper singleton init state and cached jclass/jmethodID stored in
Remapper (global.hpp)
- cache static class/method declarations lazily in initNative to avoid
repeated FindClass/GetStaticMethodID
- add generated JuiceRemapper JNI header and runtime-remap example config