官术网_书友最值得收藏!

Chapter 2. Java Native Interface

In this chapter, we will cover the following recipes:

  • Loading native libraries and registering native methods
  • Passing parameters and receiving returns in primitive types
  • Manipulating strings in JNI
  • Managing references in JNI
  • Manipulating classes in JNI
  • Manipulating objects in JNI
  • Manipulating arrays in JNI
  • Accessing Java static and instance fields in native code
  • Calling static and instance methods from native code
  • Caching jfieldID, jmethodID, and reference data to improve performance
  • Checking errors and handling exceptions in JNI
  • Integrating assembly code in JNI
主站蜘蛛池模板: 鄂州市| 焦作市| 当阳市| 鄂托克旗| 五寨县| 白河县| 瓮安县| 鄢陵县| 疏附县| 武宣县| 华安县| 交城县| 华坪县| 洪泽县| 定日县| 迁西县| 卢氏县| 裕民县| 玛纳斯县| 邛崃市| 鲁山县| 绵竹市| 荔波县| 泸水县| 黄骅市| 故城县| 邹平县| 四川省| 安阳县| 余姚市| 莱阳市| 毕节市| 固原市| 略阳县| 渭源县| 洛扎县| 洪雅县| 永善县| 宁夏| 沁阳市| 三明市|