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

MapProxy failing contains get problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.2
    • Databind 2
    • Security Level: Jimmy

      attached a unit test reproducing the problem when calling containsKey or get(key) on a MapProxy

      WORKAROUND:
      make the Key class final or add the @Immutable annotation to the class

      	public static final class MyKey {
      		
      	}
      
      	@Immutable
      	public static class MyKey {
      		
      	}
      
      

            DevChu DevChu
            cor3000 cor3000
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 5 hours
                5h