run an action as an in-vm action . concode_field_sep ThreadLocal<Boolean> IN_VM_CALL concode_field_sep void checkPermission concode_elem_sep boolean isInVmCall concode_elem_sep Boolean initialValue
T function ( PrivilegedAction < T > arg0 ) { checkPermission ( PERFORM_IN_VM_CALL ) ; if ( arg0 == null ) return null ; Boolean loc0 = IN_VM_CALL . get ( ) ; try { IN_VM_CALL . set ( Boolean . TRUE ) ; return arg0 . run ( ) ; } finally { IN_VM_CALL . set ( loc0 ) ; } }