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

PIT : <Deploy>.compareVersion() makes browser to crash if numeric value is passed as an argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • deploy
    • None
    • b32
    • generic
    • windows
    • Verified

      JRE release : 1.6.0-b99
      PIT Bundles location :
      /net/sqesvr-nfs/global/nfs/deployment5/pit_builds/windows-i586/jre160_pit.exe
       Effected OS : windows

      Problem description :
      <Deploy>.compareVersion(args1,args2) is working fine on both the browsers(IE and mozilla) if valid strings arguments(args1 and args2) are passed, but if one passes numeric values both the IE and mozilla browsers crashes.

      Steps to reproduce:
      1) Install the JRE from the location mentioned above
      2) Copy the npDeployHelper.dll into <mozilla_dir>/plugins directory from the location mentioned below
      http://javaweb.sfbay/~dp144265/ProjectDocs/NPAPI%2b/JREDeploy/demo/
      For IE :
      Go to <jre>/bin directory and run following command
      regsvr32 deployHelper.dll(make sure that pop-up with registeration successfull message is there)

      3) Load the following javascript page inside the IE and mozilla
      http://sqeweb.sfbay/deployment2/jitu/spec_improve_deploy/negative_tests.html
      4) Click on the button "NegativeTest5"
      If the browser crashes then the bug is reproduced



      ###@###.### 2005-03-30 23:22:04 GMT

            ccheung Calvin Cheung
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: