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

cannot run tests with openjdk due to openjdk including rhino unrenamed

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • Ubuntu, perhaps others.

      See http://bugs.sun.com/view_bug.do?bug_id=6876736 for a bug describing the inclusion of a rhino.jar in the jdk, which isn't apparently what openoffice or hudson expect rhino to be.

      Symptoms:
      mvn test ->
      hudson/main/test/src/main/java/org/jvnet/hudson/test/HudsonTestCase.java:[566,70] incompatible types
      ound : void
      required: org.mozilla.javascript.tools.debugger.Dim

          [JENKINS-5050] cannot run tests with openjdk due to openjdk including rhino unrenamed

          lifeless added a comment -

          lifeless added a comment - Also see https://bugs.edge.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149

          lifeless added a comment -

          From the ubuntu bug one can find
          http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179

          where for ~ a year nothing has been done, and there is some unspecified objection to doing what sun does in the jvm.

          lifeless added a comment - From the ubuntu bug one can find http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=179 where for ~ a year nothing has been done, and there is some unspecified objection to doing what sun does in the jvm.

          To recap, this is caused by OpenJDK bundling rhino without package renaming, unlike Sun JDKs.

          On Ubuntu, this is tracked as https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149.

          Also see the IRC conversation that discussed this topic: http://echelog.com/logs/browse/hudson/1252360800

          Kohsuke Kawaguchi added a comment - To recap, this is caused by OpenJDK bundling rhino without package renaming, unlike Sun JDKs. On Ubuntu, this is tracked as https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149 . Also see the IRC conversation that discussed this topic: http://echelog.com/logs/browse/hudson/1252360800

          Oleg Nenashev added a comment -

          This bug was fixed in the package openjdk-6 - 6b18~pre1-0ubuntu1

          ---------------
          openjdk-6 (6b18~pre1-0ubuntu1) lucid; urgency=low

          • New Openjdk6 b18 source code drop.
          • Use mangled copy of rhino. Closes: #512970. LP: #255149.
            • Matthias Klose <email address hidden> Fri, 19 Feb 2010 18:17:23 +0100
              Changed in openjdk-6 (Ubuntu):
              status: Confirmed → Fix Released

          Closing the issue

          Oleg Nenashev added a comment - This bug was fixed in the package openjdk-6 - 6b18~pre1-0ubuntu1 --------------- openjdk-6 (6b18~pre1-0ubuntu1) lucid; urgency=low New Openjdk6 b18 source code drop. Use mangled copy of rhino. Closes: #512970. LP: #255149. Matthias Klose <email address hidden> Fri, 19 Feb 2010 18:17:23 +0100 Changed in openjdk-6 (Ubuntu): status: Confirmed → Fix Released Closing the issue

            Unassigned Unassigned
            lifeless lifeless
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: