Skip to content

102#11

Open
superturtlee wants to merge 4 commits into
superturtlee:masterfrom
HSSkyBoy:102
Open

102#11
superturtlee wants to merge 4 commits into
superturtlee:masterfrom
HSSkyBoy:102

Conversation

@superturtlee

Copy link
Copy Markdown
Owner

No description provided.

HSSkyBoy added 4 commits May 29, 2026 22:58
The final libxposed API 102 hot reload contract makes the old generation responsible for retiring its own Java and native resources before returning true from onHotReloading. The framework also does not call UnregisterNatives, JNI_OnUnload, or dlclose during hot reload, so it must avoid keeping stale framework-owned references after the new generation is handed off.

This updates the libxposed submodule pointers to the finalized API 102 revisions and aligns Vector's implementation with that contract. onHotReloading exceptions now remain diagnostic failures instead of being collapsed into a false rejection, saved state is checked for nested old-classloader objects, old entries are detached after the new state is committed, and failed pre-commit reload attempts clean up only newly-created hooks while preserving the old hook handles.

The daemon-side service status mapping is also updated for the final service API: the removed PROP_RT_HOT_RELOAD bit is no longer advertised, HOT_RELOAD_SUCCEEDED is used instead of the draft HOT_RELOAD_SUCCESS name, unsupported targets report HOT_RELOAD_UNSUPPORTED, concurrent reloads report HOT_RELOAD_IN_PROGRESS, and dead target processes report HOT_RELOAD_PROCESS_DIED.

Documentation References:

libxposed XposedModuleInterface hot reload callbacks:

https://libxposed.github.io/api/io/github/libxposed/api/XposedModuleInterface.html#onHotReloaded(io.github.libxposed.api.XposedModuleInterface.HotReloadedParam)
@HSSkyBoy HSSkyBoy deleted the 102 branch June 14, 2026 10:33
@HSSkyBoy HSSkyBoy restored the 102 branch June 14, 2026 10:52
@HSSkyBoy HSSkyBoy deleted the 102 branch June 21, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants