Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-38716

Remove old kernel component manager test

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.9.x
    • Fix Version/s: 2.9.x
    • Component/s: Kernel
    • Labels:
    • Previous Issue Keys:
      KNL-992

      Description

      There was a test in component manager that had a dependency on com.sun.tools. These were removed in Java 6 and don't exist in OpenJDK or newer versions since Oracle has taken over so causes a problem when trying to run the tests in kernel on some versions. These tests were added 4 years ago from KNL-75.

      http://collab.sakaiproject.org/pipermail/sakai-dev/2012-November/019824.html

      Alternatively, changing this to javax.tools.JavaCompiler might be a possibility if these tests were important, but I don't think anyone is using Terracotta anyway.

      http://docs.oracle.com/javase/6/docs/api/javax/tools/JavaCompiler.html

      kernel/component-manager

      39 <dependency>
      40 <groupId>com.sun</groupId>
      41 <artifactId>tools</artifactId>
      42 <version>1.5.0</version>
      43 <scope>system</scope>
      44 <systemPath>${java.home}/../lib/tools.jar</systemPath>
      45 </dependency>

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  aaronz Aaron Zeckoski (Inactive)
                  Reporter:
                  jonespm Matthew Jones
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code