Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-1095

ThreadLocalCache has incorrect constructor making it unusable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.10
    • Fix Version/s: 5.0.12
    • Component/s: Configuration
    • Labels:
    • Environment:

      AIX, jetty 7.0

      Description

      ThreadLocalCache has invalid default constructor. While non default contructor requires following order of params: int maxSize, int lifetime - default constructor passes default args in invalid order - this(DEFAULT_LIFETIME, 128);
      Thus, cache entries get 128ms lifetime and get expunged constantly.

        Attachments

          Activity

            People

            Assignee:
            jumperchen jumperchen
            Reporter:
            sirvaulterscoff sirvaulterscoff
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: