Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6272574

Netscape plugin libraries need mapfiles (JDK/jre/plugin/ns*/lib*so)

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 6
    • infrastructure
    • None
    • generic
    • generic

      The netscape plugin libraries are exposing many more extern symbols than are
      probably necessary. Although I doubt this is any immediate problem, it could
      cause problems down the road.

      The actual plugin libraries were not obvious as to what these libraries were exporting in
      terms of interfaces.

      It appears that the ns4 plugin library jre/plugin/i386/ns4/libjavaplugin.so
      should be using a mapfile something like:

      SUNWprivate_1.1 {
        global:
          NP_GetMIMEDescription;
          NP_GetValue;
          NP_Initialize;
          NPP_Destroy;
          NPP_DestroyStream;
          NPP_GetJavaClass;
          NPP_GetMIMEDescription;
          NPP_GetValue;
          NPP_Initialize;
          NPP_New;
          NPP_NewStream;
          NPP_PeerInitialize;
          NPP_Print;
          NPP_SetWindow;
          NPP_Shutdown;
          NPP_StreamAsFile;
          NPP_URLNotify;
          NPP_Write;
          NPP_WriteReady;
          NP_Shutdown;
        local:
          *;
      };

      But I'm guessing, someone directly working on this library needs to verify this.

      On the jre/plugin/i386/ns4/libjavaplugin_oji.so library I'm clueless.
      I'm not sure what the exported interface is here.

      Once a mapfile is created it's easy to add in.
      See 6229503 (after it is integrated) and the directory deploy/make/plugin/nscore/unix.
      Look at the Makefile, these lines need to be added just before the include of Library.gmk:

      # Use a mapfile on Solaris/Linux
      FILES_m = mapfile-vers
      ifdef FILES_m
      include $(J2SE_TOPDIR)/make/common/Mapfile-vers.gmk
      endif


      ###@###.### 2005-05-18 19:12:29 GMT

            Unassigned Unassigned
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: