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 the script contains Sys.Memory.getMemoryPoolUsage(str(sb)) call the compilation will fail because it mistakenly considered as an unsafe outgoing method call.
The text was updated successfully, but these errors were encountered:
This is caused by the verifier still relying on Java 6 APIs mostly and missing the fact that Sys.Memory is an inner class of BTraceUtils. For an immediate remedy one can simply use BTraceUtils.Sys.Memory.getMemoryPoolUsage(). A long term fix is to use the Java 7 javax.lang.model.element API which can provide much more precise data.
When the script contains
Sys.Memory.getMemoryPoolUsage(str(sb))
call the compilation will fail because it mistakenly considered as an unsafe outgoing method call.The text was updated successfully, but these errors were encountered: