WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
57533
JavaClass should be an interface and free of JNI types
https://bugs.webkit.org/show_bug.cgi?id=57533
Summary
JavaClass should be an interface and free of JNI types
Steve Block
Reported
2011-03-31 02:58:12 PDT
This will allow implementations flexibility in how the binding to a Java object is achieved. See
Bug 55383
. Note that V8 and JSC use different implementations of JavaClass. This bug tracks fixing V8's implementation only.
Attachments
Patch 1
(14.92 KB, patch)
2011-03-31 04:54 PDT
,
Steve Block
no flags
Details
Formatted Diff
Diff
Patch 2
(14.86 KB, patch)
2011-04-01 03:06 PDT
,
Steve Block
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Steve Block
Comment 1
2011-03-31 04:54:21 PDT
Created
attachment 87703
[details]
Patch 1
Andrei Popescu
Comment 2
2011-04-01 02:55:19 PDT
I know you didn't introduce this, but:
> Source/WebCore/bridge/jni/v8/JavaClassJobjectV8.cpp:41 > + LOG_ERROR("unable to call getClass on instance %p", anInstance);
Why are we printing out the anInstance poninter? I can't see that being useful. Just return?
> Source/WebCore/bridge/jni/v8/JavaClassJobjectV8.cpp:45 > + int i;
What's with this poor lonely 'i' here? He can live inside the for statements below.
> Source/WebCore/bridge/jni/v8/JavaClassJobjectV8.cpp:65 > + {
Spurious { } ?
Steve Block
Comment 3
2011-04-01 03:04:23 PDT
> Why are we printing out the anInstance poninter? I can't see that being useful. Just return?
I agree, but this has been touched recently -
http://trac.webkit.org/changeset/82197
- so I don't want to modify it needlessly.
> What's with this poor lonely 'i' here? He can live inside the for statements below.
Done
> Spurious { } ?
Fixed, same problem with copy-paste from JSC which uses a scoped lock.
Steve Block
Comment 4
2011-04-01 03:06:32 PDT
Created
attachment 87835
[details]
Patch 2
Andrei Popescu
Comment 5
2011-04-01 03:08:29 PDT
LGTM
Jeremy Orlow
Comment 6
2011-04-01 10:27:47 PDT
Comment on
attachment 87835
[details]
Patch 2 rubber stamp = me
WebKit Commit Bot
Comment 7
2011-04-01 12:00:00 PDT
The commit-queue encountered the following flaky tests while processing
attachment 87835
[details]
: fast/loader/recursive-before-unload-crash.html
bug 50880
(authors:
beidson@apple.com
and
eric@webkit.org
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 8
2011-04-01 12:05:15 PDT
Comment on
attachment 87835
[details]
Patch 2 Clearing flags on attachment: 87835 Committed
r82702
: <
http://trac.webkit.org/changeset/82702
>
WebKit Commit Bot
Comment 9
2011-04-01 12:05:19 PDT
All reviewed patches have been landed. Closing bug.
WebKit Review Bot
Comment 10
2011-04-01 16:49:31 PDT
http://trac.webkit.org/changeset/82702
might have broken WinCE Release (Build)
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