Closed
Bug 823559
Opened 12 years ago
Closed 12 years ago
Make Java plugins OOP again
Categories
(Core Graveyard :: Plug-ins, defect)
Core Graveyard
Plug-ins
Tracking
(firefox20 disabled, firefox21 fixed)
RESOLVED
FIXED
mozilla21
People
(Reporter: gfritzsche, Assigned: gfritzsche)
References
Details
Attachments
(2 files)
(deleted),
patch
|
jaas
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
OOP was disabled for Java on all platforms in bug 563891 for issues with access to window.java.
window.java has since been removed in bug 748343, so we should be able to make Java OOP again, i.e. undo this:
https://bug563891.bugzilla.mozilla.org/attachment.cgi?id=507339
Assignee | ||
Comment 1•12 years ago
|
||
Attachment #694424 -
Flags: review?(joshmoz)
Attachment #694424 -
Flags: review?(joshmoz) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Hrm, apparently we can't go with this without further investigation :(
On http://www.java.com/en/download/testjava.jsp i hit:
> WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004003: file /Users/georg/moz/mozilla-central/intl/uconv/src/nsCharsetConverterManager.cpp, line 301
> WARNING: Not running on the plugin's main thread!: file /Users/georg/moz/mozilla-central/dom/plugins/ipc/PluginModuleChild.cpp, line 1076
> ###!!! ASSERTION: Should be on the plugin's main thread!: 'IsPluginThread()', file ../../../dist/include/mozilla/plugins/PluginMessageUtils.h, line 214
> ###!!! ABORT: not on worker thread!: 'mWorkerLoop == MessageLoop::current()', file ../../dist/include/mozilla/ipc/AsyncChannel.h, line 210
> mozilla::ipc::AsyncChannel::AssertWorkerThread() const+0x00000057 [/Users/georg/moz/mozilla-central/objdir/dist/NightlyDebug.app/Contents/MacOS/XUL +0x02131547]
> mozilla::ipc::RPCChannel::Call(IPC::Message*, IPC::Message*)+0x0000004E [/Users/georg/moz/mozilla-central/objdir/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0214247E]
> mozilla::plugins::PPluginInstanceChild::CallNPN_ConvertPoint(double const&, bool const&, double const&, bool const&, NPCoordinateSpace const&, NPCoordinateSpace const&, double*, double*, bool*)+0x00000243 [/Users/georg/moz/mozilla-central/objdir/dist/NightlyDebug.app/Contents/MacOS/XUL +0x022D0C73]
> mozilla::plugins::child::_convertpoint(_NPP*, double, double, NPCoordinateSpace, double*, double*, NPCoordinateSpace)+0x000000DA [/Users/georg/moz/mozilla-central/objdir/dist/NightlyDebug.app/Contents/MacOS/XUL +0x0210EFDA]
> MozNPN_ConvertPoint+0x00000014 [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/MacOS/JavaAppletPlugin +0x0000326F]
> MacNPAPIJavaPlugin::updateWindowLocation()+0x00000030 [/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/MacOS/JavaAppletPlugin +0x0000C95E]
> ###!!! ABORT: not on worker thread!: 'mWorkerLoop == MessageLoop::current()', file ../../dist/include/mozilla/ipc/AsyncChannel.h, line 210
Comment 3•12 years ago
|
||
We added that just for Java because java sucks. This is on some other java thread? If so we should just make convertpoint fail on the incorrect thread.
Assignee | ||
Updated•12 years ago
|
Attachment #694509 -
Attachment is patch: true
Updated•12 years ago
|
Attachment #694509 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/fc2cce7ad2d0
https://hg.mozilla.org/mozilla-central/rev/40822fe6962b
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Comment 7•12 years ago
|
||
Should I be worried that this was fixed before bug 718233 / bug 559432?
Assignee | ||
Comment 8•12 years ago
|
||
Good question, does that still reproduce? I'll check into it when i'm back.
Assignee | ||
Comment 9•12 years ago
|
||
Backed out on Aurora for further investigation:
https://hg.mozilla.org/releases/mozilla-aurora/rev/d9452857a6d2
Comment 10•12 years ago
|
||
So this backout made bug 705570 return in all of its perma-orange glory.
Comment 11•12 years ago
|
||
Backed out (or re-landed depending on your perspective).
https://hg.mozilla.org/releases/mozilla-aurora/rev/028f5d36f9cc
Assignee | ||
Comment 12•12 years ago
|
||
Per bug 824069, comment 290 and following, this will be backed out once 20 hits beta due to the permaleaks possibly hiding other issues.
Assignee | ||
Comment 13•12 years ago
|
||
Backed out on beta:
https://hg.mozilla.org/releases/mozilla-beta/rev/66ffb2e23ffe
Updated•12 years ago
|
status-firefox20:
--- → disabled
status-firefox21:
--- → fixed
Assignee | ||
Updated•11 years ago
|
Target Milestone: mozilla20 → mozilla21
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•