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

<DeployHelper>.getStaticMimeType(version) is not returning correct mimetype value

XMLWordPrintable

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

      Tested Build : JRE PIT and nightly build(build 1.6.0-b99) and promoted b-40
      Build Location : /net/sqesvr-nfs.sfbay/global/nfs/deployment5/pit_builds
      /net/koori/onestop/jdk/1.6.0/latest/bundles/

      Problem description :
      On mozilla call to <DeployHelper>.getStaticMimeType(version) is not returning correct value e.g. <DeployHelper>.getStaticMimeType("1.6.0") should return "application/x-java-applet;jpi-version=1.6" but it's returning "application/x-java-applet;jpi-version=1.6.0". The mozilla firefox won't be able to execute applet with returned mimetype and instead "Plug-in Not Loaded" pop-up will be there which will request user to get the plug-in
      Other related API <deployHelper>.getDynamicMimeType(version) is working fine

      How to reproduce:
      1) Install JRE from the location mentioned above
      2) Load the following page inside your browser http://sqeweb.sfbay.sun.com/deployment2/jitu/spec_improve_deploy/test_mimetypes.html
      3) If you notice the behavior mentioned above then the bug is reproduced
      ###@###.### 2005-06-18 02:23:58 GMT

            dphamsunw Danielle Pham (Inactive)
            jijising Jitender Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: