Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.9.1, 3.0
-
Fix Version/s: 1000
-
Component/s: Infrastructure: Build, Runtime: JNI
-
Labels:None
Description
A lot of the code in VM_JNIFunctions is very similar and could be generated from a template. This is particularly relevant if you want to change the pattern of template and need to alter all 232 method calls. Ideally we should define the structure in a DSL and generate the source from that (including jni.h) and delegate calls to another (non-generated) class to perform the actual work.