Upgrading from snmp4j <2.8.6> to <3.5.1>
PDU.varbindings - was compiling fine in 2.8.6 version of SNMP4J and throws the below error when using maven dependency version 3.5.1
incompatible types: java.util.List<capture#1 of ? extends org.snmp4j.smi.VariableBinding> cannot be converted to java.util.ArrayList<org.snmp4j.smi.VariableBinding>
Tried to convert to vector, arraylist - in vain.
Please help at the earliest.