Closed Bug 689493 Opened 13 years ago Closed 10 years ago

Auto-generate JNI boilerplate in AndroidBridge/AndroidJNI?

Categories

(Core Graveyard :: Widget: Android, defect)

ARM
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cjones, Unassigned)

Details

We've had some fairly serious bugs in JNI boilerplate caused by small typos, IIRC. A friendlier spec would also make it easier to extend the JNI with new calls. There are almost certainly existing tools that can do this, but TBH it would take about 30 minutes to write one by hand. It looks like the C++->Java side is more error prone, but generating the goop for both directions wouldn't be too bad. Marking (?) because I'm not sure how useful this would be. CC'ing some folks who I know have grubbed around in here in the past.
This is pretty much done I think.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.