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
When injecting array-typed fields:
The agent currently invokes Class.getName() on the field's type to generate the field signature when injecting a field into a class. The getName() method on an array class returns a form not suitable for generating signatures (ie int[] -> [I).
When adding getter/setter for array-typed fields
Type checking is done by comparing Javassist's CtClass.getName() and Class.getName(). This comparison fails for array classes due to reason similar to above.
For an array of int, CtClass.getName() returns int[] whereas Class.getName() again returns [I, failing the check.
The text was updated successfully, but these errors were encountered:
https://groups.google.com/forum/#!topic/pinpoint_user/-PutLtVn5rc
When injecting array-typed fields:
The agent currently invokes
Class.getName()
on the field's type to generate the field signature when injecting a field into a class. ThegetName()
method on an array class returns a form not suitable for generating signatures (ie int[] -> [I).When adding getter/setter for array-typed fields
Type checking is done by comparing Javassist's
CtClass.getName()
andClass.getName()
. This comparison fails for array classes due to reason similar to above.For an array of int,
CtClass.getName()
returns int[] whereasClass.getName()
again returns [I, failing the check.The text was updated successfully, but these errors were encountered: