The NAT_L_DCTS (Native Link Disable Call-Time Security) attribute specifies that no extra call-time security checks are required when a J/Direct method is called. Normally, the Microsoft VM ensures that all classes on the stack are fully trusted before allowing a J/Direct call to succeed.
Attribute Level | Generated By Directives |
Class | @security |
NAT_L_DCTS_attribute { u2 attribute_name_index; u4 attribute_length; }
The @security directive that generates this attribute has the following syntax:
/** @security(checkDLLCalls=off) */
attribute_name_index
This value must be a valid index into the constant_pool table. The constant_pool entry at that index must be the CONSTANT_Utf8_info structure representing the string "NAT_L_DCTS".
attribute_length
This value indicates the length of this attribute, excluding the initial six bytes, and may be 0 (zero).