rspec/rules/S3015/java/rule.adoc

29 lines
593 B
Plaintext

== Why is this an issue?
JNI (Java Native Interface) code should be used only as a last resort, since part of the point of using Java is to make applications portable, and by definition the use of JNI can reduce portability.
=== Noncompliant code example
[source,java]
----
System.loadLibrary("nativeStringLib"); // Noncompliant
----
ifdef::env-github,rspecator-view[]
'''
== Implementation Specification
(visible only on this page)
include::message.adoc[]
'''
== Comments And Links
(visible only on this page)
include::comments-and-links.adoc[]
endif::env-github,rspecator-view[]