You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClassInitPlugin copies method and instruments it to initialize new static fields. Old static instances are not recreated, so in your case HA method adds additional values to test field. It is unsolvable to keep old static instance of test (it is kept by dcevm not HA) and apply only addition of items that are new in new variant of method. Another approach is to recreate instance after redefinition, but there is next problem with modifications out of method - not possible to track it in HA.
for example, if I have a:
if add new item like
test.add("2");
and let the agent hot swap, then I would get:"1",
"1",
"2"
I think it because of the static, that agent not cleaned up before hot swap
The text was updated successfully, but these errors were encountered: