Skip to main content
assistive.skiplink.to.breadcrumbs
assistive.skiplink.to.header.menu
assistive.skiplink.to.action.menu
assistive.skiplink.to.quick.search
Log in
Confluence
Spaces
Hit enter to search
Help
Online Help
Keyboard Shortcuts
Feed Builder
What’s new
Available Gadgets
About Confluence
Log in
SEI CERT Oracle Coding Standard for Java
Pages
Boards
Space shortcuts
Dashboard
Secure Coding Home
Android
C
C++
Java
Perl
Page tree
Browse pages
Configure
Space tools
View Page
A
t
tachments (0)
Page History
Page Information
View in Hierarchy
View Source
Export to PDF
Export to Word
Pages
…
SEI CERT Oracle Coding Standard for Java
2 Rules
Rule 17. Java Native Interface (JNI)
JNI03-J. Do not use direct pointers to Java objects in JNI code
Page Information
Title:
JNI03-J. Do not use direct pointers to Java objects in JNI code
Author:
Fred Long
Jul 29, 2014
Last Changed by:
David Svoboda
Aug 06, 2025
Tiny Link:
(useful for email)
https://wiki.sei.cmu.edu/confluence/x/yDZGBQ
Export As:
Word
·
PDF
Incoming Links
Android (1)
Page:
Applicable in Principle to Android (Java Rules/Recomendations)
Hierarchy
Parent Page
Page:
Rule 17. Java Native Interface (JNI)
Labels
Global Labels (4)
jni
draft
incomplete
rule
Recent Changes
Time
Editor
Aug 06, 2025 17:14
David Svoboda
View Changes
REM cost reform
Oct 17, 2014 16:49
David Svoboda
View Changes
Oct 17, 2014 16:36
David Svoboda
View Changes
Aug 08, 2014 15:35
David Svoboda
View Changes
changing RA Table
Aug 07, 2014 16:18
Unknown User (lflynn)
applicability section cleaned up
View Page History
Outgoing Links
External Links (10)
android-developers.blogspot.com/2011/11/jni-local-reference…
https://www.securecoding.cert.org/confluence/pages/viewpage…
docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/fun…
https://www.securecoding.cert.org/confluence/display/java/J…
https://www.securecoding.cert.org/confluence/display/java/A…
https://www.securecoding.cert.org/confluence/display/java/A…
https://www.securecoding.cert.org/confluence/display/java/A…
docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/des…
developer.android.com/guide/practices/verifying-apps-art.ht…
https://www.securecoding.cert.org/confluence/display/java/J…
SEI CERT Oracle Coding Standard for Java (1)
Home page:
SEI CERT Oracle Coding Standard for Java
Overview
Content Tools
{"serverDuration": 64, "requestCorrelationId": "c5b06816f59ca78f"}