Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9377

org.springframework.cache.interceptor.DefaultKeyGenerator has too weak hashing functionality

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 3.1.1
    • None
    • Core
    • true

    Description

      Key generating has a weak hashing function. Next results are equal:

      generate( object1,method1,new Integer( 109 ),new Integer( 434)));
      generate( object1,method1,new Integer( 110 ),new Integer( 403)));

      It was pity to catch it on production...

      Attachments

        Issue Links

          Activity

            People

              pwebb Phil Webb
              macromaniac Andrey Karandey
              Spring Issues Spring Issues
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                3 years, 38 weeks, 1 day ago