Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Wiki Markup
Native methods are defined in Java and written in traditional languages such as C/C++ (see \[[JNI 06|AA. Java References#JNI 06]\]). The added extensibility comes at the cost of flexibility and portability as the code no longer conforms to the policies enforced by Java. 

Noncompliant Code Example

...

Search for vulnerabilities resulting from the violation of this rule on the CERT website.

References

Wiki Markup
\[[JNI 06|AA. Java References#JNI 06]\]
\[[SCG 07|AA. Java References#SCG 07]\] Guideline 3-3 Define wrappers around native methods
\[[Liang 97|AA. Java References#Liang 97]\]
\[[Macgregor 98|AA. Java References#Macgregor 98]\] Section 2.2.3, Interfaces and Architectures