WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
12100
JNI bindings should be available to non-Mac platforms that have JNI
https://bugs.webkit.org/show_bug.cgi?id=12100
Summary
JNI bindings should be available to non-Mac platforms that have JNI
David Carson
Reported
2007-01-03 09:00:03 PST
JavaScriptCore currently has the JNI bindings code lumped in with the obj-c code under the macro PLATFORM(MAC). Other platforms can also benefit from JNI bindings. The patch provided seperates out the JNI code to a HAVE_JNI define. Each platform that supports JNI can then defined HAVE_JNI to allow access to the JNI binding interfaces.
Attachments
Patch to JavaScriptCore bindings
(4.06 KB, patch)
2007-01-03 09:14 PST
,
David Carson
no flags
Details
Formatted Diff
Diff
Updated patch to address weinig's comments
(4.06 KB, patch)
2007-01-03 12:28 PST
,
David Carson
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
David Carson
Comment 1
2007-01-03 09:14:03 PST
Created
attachment 12188
[details]
Patch to JavaScriptCore bindings
David Carson
Comment 2
2007-01-03 12:17:00 PST
Comment from weinig: weinig: dacarson: we have a HAVE() macro in wtf/Platform.h that you should use instead of the plain #if [1:49pm] weinig: it does [1:49pm] dacarson: I was wondering about that - I'll take a look and switch it. [1:49pm] weinig: #define HAVE(WTF_FEATURE) (defined( HAVE_##WTF_FEATURE ) && HAVE_##WTF_FEATURE) [1:49pm] mitzpettel: adele: is there an "official" prefix for native slider bugs? [1:50pm] weinig: so all you need to do is #if HAVE(JNI)
David Carson
Comment 3
2007-01-03 12:28:28 PST
Created
attachment 12195
[details]
Updated patch to address weinig's comments
Darin Adler
Comment 4
2007-01-06 17:18:46 PST
Comment on
attachment 12195
[details]
Updated patch to address weinig's comments There's a tab in the change log. Otherwise looks fine. r=me
David Kilzer (:ddkilzer)
Comment 5
2007-01-07 21:27:42 PST
Committed revision 18657.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug