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

The implemention of GetValue should not quit the program in any case

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.2_01
    • deploy
    • sparc
    • solaris_9

      The implemention of nsIPluginInstance::GetValue exits when the key is unknown to the java plugin. There various ways to handle the unknown key in the GetValue. You can return an error or even just leave the return value unmodified. Quitting the program is the most unexpected one. It is such a bad design that makes the browser impossible to extend. All the workarround in browser side force us to write code awaring the implemention of each plugin instead of just the interface. -descripted by Robin.lu

            ccheung Calvin Cheung
            jhaosunw Jianwen Hao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: