To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56878
                  Issue #:|56878
                  Summary:|Browser plugin does not build without Java
                Component:|porting
                  Version:|current
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|obo
              Reported by:|panbk





------- Additional comments from [EMAIL PROTECTED] Fri Oct 28 07:54:28 -0700 
2005 -------
The functions NPN_GetJavaEnv and NPN_GetJavaPeer are, understandably, only     
available in the OJI case (see jmeng's  
extensions/source/nsplugin/source/npunix.c).  
  
However, extensions/source/plugin/base/nfuncs.cxx    
refers to them unconditionally.    
    
The simple patch below allows things to _compile_, but whether it will work    
depends on the answer to the question in comment :-)   
   
--- extensions/source/plugin/base/nfuncs.cxx    Thu Sep  8 15:51:16 2005   
+++ extensions/source/plugin/base/nfuncs.cxx    Fri Oct 28 10:26:58 2005   
@@ -105,6 +105,11 @@   
        NPN_MemFlush,   
        NPN_ReloadPlugins,   
+#ifdef OJI   
        NPN_GetJavaEnv,   
        NPN_GetJavaPeer,   
+#else   
+       NULL, // Will it be smart enough to not call us? Or do we need  
+       NULL, // to provide some error-returning shims instead?   
+#endif   
        NPN_GetURLNotify,   
        NPN_PostURLNotify,

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to