ThreadLocalCache has incorrect constructor making it unusable

XMLWordPrintable

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

      AIX, jetty 7.0

    • None

      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.

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

              Created:
              Updated:
              Resolved: