Hi Mark,

JDK 1.6 and probably also your Eclipse version have a compiler bug regarding
certain usage of Generics. To fix it, you have to use an JDK 7 compiler and
then set the compliance level to 1.6 (if you need to).

The bug is well documented at Oracle and was an architecture problem with
the JDK that cannot (could not) be fixed with JDK 6.

Best regards,
Frank


Am 29.10.2014 02:58, schrieb [email protected]:
I put together a simple Eclipse project with source code combined from snmp4j-agent-2.3.0 & snmp4j-2.3.1
This is a convenient way for me to navigate through the code.

There are 9 very similar compilation errors. For example, org.snmp4j.agent.mo.snmp.NotificationLogMib(line 471):
Type mismatch: cannot convert from
MOTableModel<capture#1-of ? extends MOTableRow> to
MOTableModel<NotificationLogMib.NlmConfigLogEntryRow>

Compiler compliance level 1,6 or 1.7 does not matter.
What I'm missing?

Thanks,
Mark
_______________________________________________
SNMP4J mailing list
[email protected]
https://oosnmp.net/mailman/listinfo/snmp4j

--
---
AGENT++
Maximilian-Kolbe-Str. 10
73257 Koengen, Germany
https://agentpp.com
Phone: +49 7024 8688230
Fax:   +49 7024 8688231

_______________________________________________
SNMP4J mailing list
[email protected]
https://oosnmp.net/mailman/listinfo/snmp4j

Reply via email to