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)
Product: Core
Classification: Components
Component: Plug-ins (show other bugs)
: unspecified
: All Mac OS X
-- normal (vote)
: ---
Assigned To: Steven Michaud [:smichaud] (Retired)
: Benjamin Smedberg [:bsmedberg]
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:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

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

Description User image 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

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:

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 User image Steven Michaud [:smichaud] (Retired) 2011-04-20 14:07:12 PDT
Created attachment 527371 [details] [diff] [review]
Potential fix
Comment 2 User image Steven Michaud [:smichaud] (Retired) 2011-04-21 08:52:01 PDT
Landed on trunk:

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