Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5096

Remove MemoryLeakUtil.shutdownKeepAliveTimer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.2.0
    • Component/s: None
    • Complexity:
      Low

      Description

      MemoryLeakUtil.shutdownKeepAliveTimer has a dependency to the sun package (class KeepAliveCache); but its implementation is based on a field which does not exist and thus fails on the first line (see comment).

      Its bad practice to depend on code from the sun package

      http://www.oracle.com/technetwork/java/faq-sun-packages-142232.html

      I suggest to remove the method.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                teleivo Ivo Ulrich
                Reporter:
                teleivo Ivo Ulrich
                Designated Committer:
                Darius Jazayeri
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: