Comment #15 on issue 16787 by behanz: Java Plugin not working
http://code.google.com/p/chromium/issues/detail?id=16787

After briefly checking the appropriate code (src/webkit/glue/plugins/*),  
I'm led to
believe that java support is simply _not_implemented_. It doesn't make sense
complaining it doesn't work.

I guess this bug must make someone very unhappy, as it breaks the  
statements in
about:linux-splash about alpha builds and incomplete code. :/



The only curious thing is the fact that from java plugins, only the "Next  
generation"
plugin is recognised as plugin (at least on my system), and the normal one  
isn't.
Since java is binary, I'd assume the same for other systems as well.

Looking at the objdumps:
$ objdump -x /opt/sun-jdk-1.6.0.14/jre/lib/i386/libnpjp2.so |grep MIME
00006a90 g     F .text  00000018              NP_GetMIMEDescription

$ objdump -x /opt/sun-jdk-1.6.0.14/jre/plugin/i386/ns7/libjavaplugin_oji.so  
|grep MIME
0000ee40 g     F .text  00000049
_ZN28CNSAdapter_JavaPluginFactory18GetMIMEDescriptionEPPKc
0000f440  w    F .text  0000001b
_ZThn4_N28CNSAdapter_JavaPluginFactory18GetMIMEDescriptionEPPKc
0000b5c0 g     F .text  00000031
_ZN29CNSAdapter_PluginInstancePeer11GetMIMETypeEPPKc


The original (non-next generation) plugin doesn't seem to export a
NP_GetMIMEDescription function, which is what makes plugin loader  
completely ignore
it. This isn't a problem for Firefox, and i'm not sure why.

The plugins are likely equal in terms of functionality.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to