Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
-
Operating System: Windows
Platform: PC
-
3090
Description
When AsyncDataChangeEvent's getCreatedData() method is called to get changed list object, yangtools will use reflect to create an instance. The order of constructor's arguments are same as the keys order which are defined in yang model. But the real order of Key object's constructor's arguments which are generated by yangtools are alpha. So if keys order in yang model don't match alpha order, will get an IllegalArgumentException when call getCreatedData() method.
Sources are in org.opendaylight.yangtools.binding.data.codec.impl.BindingCodecContext.