Hudson web pages invoke browser java plugin unecessarily

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Viewing the hudson pages in your web browser causes the java plugin for that
      browser to start up even though hudson doesn't currently use any java applets.

      It appears that the following code in hudson-behaviour.js is the culprit:

      // are we run as unit tests?
      var isRunAsTest = (function() {
      try

      { return Packages.java.lang.System.getProperty("hudson.unitTest")!=null; }

      catch(e)

      { return false; }

      })();

      If the System Property retrieval is removed then the java browser plugin no
      longer initializes as a result of loading Hudson web pages.

            Assignee:
            Unassigned
            Reporter:
            the_fire
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: