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

1.4.2 and 1.5.0's NPOJI610.dll doesn't work interchangeably for the same mime-ty

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • deploy
    • None
    • x86
    • windows_xp

      Steps to reproduce problem:
      ===========================
      Windows XP (other Windows platform is okay too). NS 7.1.
      1) Install 1.3.1_06, 1.4.2_03, latest build 1.5.0 (order of installation is not important).
      Register them all with NS during installation.
      2) Prepare 3 html files with <embed> tag that points to specific version 1.3.1_06, 1.4.2_03,
      and 1.5.0, respectively. I used html from the demo/plugin/applets/blink/* directory of the
      JDK of each specific version.
      3) Go to Netscape's plugins directory, touch NPOJI600.dll to update timestamp so that this library
      is loaded by NS.
      4) Close all NS sessions, remove deployment.properties from <usr_jpi_profile>. Launch 1.3.1_06 html
      on a new NS session. It works.
      5) Open process viewer, view netscape.exe process, will see that 1.3.1_06's NPOJI600.dll
      and the correct jvm.dll from j2re1.3.1_06/bin are loaded.
      6) Repeat (4) & (5) for 1.4.2_03 html and 1.5.0 html. All work fine. In step (5), will see that
      NPOJI610.dll and the correct jvm.dll from j2re1.4.2_03/bin or jre1.5.0/bin are loaded, respectively.

      Therefore, 1.3.1 is forward compatible.

      7) Copy NPOJI610.dll from j2re1.5.0/bin/ over to Netscape's plugins directory. Touch this file
      to update timestamp so that this 1.5.0's NPOJI610.dll will be loaded by NS for application/x-java-applet mime-type.
      8) Repeat (4) and (5) for 1.3.1_06 html, NS crashes. Process viewer showed that 1.5.0's jvm.dll
      is loaded.
      9) Repeat (6), 1.5.0 html loaded fine; 1.4.2_03 html ended with a Java collision error. Process
      viewer showed that 1.5.0's jvm.dll was loaded in both cases.

      Therefore 1.5.0 is not backward compatible, and likely not forward compatible either.

      Repeat (7), (8), (9) for 1.4.2_03's NPOJI610.dll. similarly, only 1.4.2's NPOJI610.dll and jvm.dll
      are loaded. Crash with 1.3.1 html and collision with 1.5.0 html.

      Therefore 1.4.2 is not backward or forward compatible.



      ###@###.### 2003-12-19
      ###@###.### 2003-12-19

            Unassigned Unassigned
            dphamsunw Danielle Pham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: