Last Comment Bug 651618 - Java Plugin2's name has changed on OS X Lion (10.7)
: Java Plugin2's name has changed on OS X Lion (10.7)
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Plug-ins (show other bugs)
: unspecified
: All Mac OS X
: -- normal (vote)
: ---
Assigned To: Steven Michaud [:smichaud] (Retired)
:
Mentors:
Depends on:
Blocks: lion-compatibility 651928 652417
  Show dependency treegraph
 
Reported: 2011-04-20 13:54 PDT by Steven Michaud [:smichaud] (Retired)
Modified: 2011-05-10 14:54 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Potential fix (953 bytes, patch)
2011-04-20 14:07 PDT, Steven Michaud [:smichaud] (Retired)
jaas: review+
Details | Diff | Review

Description Steven Michaud [:smichaud] (Retired) 2011-04-20 13:54:57 PDT
The filename of Apple's port of Sun/Oracle's Java Plugin2 has changed
on OS X Lion (10.7).  On OS X 10.5 and 10.6 it's
JavaPlugin2_NPAPI.plugin.  But on OS X 10.7 it's
JavaAppletPlugin.plugin.

Normally this wouldn't make any difference.  But there's one place in
current trunk code where the filename of Java Plugin2 is hard-coded:

http://hg.mozilla.org/mozilla-central/annotate/0105b9691002/browser/app/profile/firefox.js#l948

We should do something about this.

Probably the simplest solution would be to add the following line just
after line 1948:

pref("dom.ipc.plugins.enabled.i386.javaappletplugin.plugin", true);

This would run JavaAppletPlugin.plugin out-of-process in 32-bit mode,
if it was present.
Comment 1 Steven Michaud [:smichaud] (Retired) 2011-04-20 14:07:12 PDT
Created attachment 527371 [details] [diff] [review]
Potential fix
Comment 2 Steven Michaud [:smichaud] (Retired) 2011-04-21 08:52:01 PDT
Landed on trunk:
http://hg.mozilla.org/mozilla-central/rev/fc38b7841842

Note You need to log in before you can comment on or make changes to this bug.