[GBP-209] NoSuchMethodError in EndpointManager Created: 26/Jan/16  Updated: 26/Jan/16  Resolved: 26/Jan/16

Status: Resolved
Project: groupbasedpolicy
Component/s: Renderer:OfOverlay
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Tomas Cechvala Assignee: Tomas Cechvala
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File NoSuchMethodError.txt    
External issue ID: 5102
Priority: Normal

 Description   

In Java 7 keySet() method in ConcurrentHashMap returns Set

In Java 8 keySet() method in ConcurrentHashMap returns ConcurrentHashMap.KeySetView

Since KeySetView implements Set, error does not occur when building the source code. The exception is throw in runtime when the code is build with Java 8 and run on Java 7.

The problem was found by integration tests on Jenkins.



 Comments   
Comment by Tomas Cechvala [ 26/Jan/16 ]

Attachment NoSuchMethodError.txt has been added with description: karaf log

Comment by Tomas Cechvala [ 26/Jan/16 ]

boron:
https://git.opendaylight.org/gerrit/#/c/33550
stable/beryllium:
https://git.opendaylight.org/gerrit/#/c/33549

Generated at Wed Feb 07 20:01:23 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.