Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-2694

Hudson web pages invoke browser java plugin unecessarily

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: All

      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.

          [JENKINS-2694] Hudson web pages invoke browser java plugin unecessarily

          the_fire created issue -
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: gui [ 15492 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 132767 ] New: JNJira + In-Review [ 201651 ]

            Unassigned Unassigned
            the_fire the_fire
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: