Anybody tried to build OpenNMS with a pre-release jdk8 build yet? This 
is as far as master gets for me:

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
(default-compile) on project org.opennms.core.soa: Compilation failure: 
Compilation failure:
[ERROR] 
/itch2/opennms-dev.git/core/soa/src/main/java/org/opennms/core/soa/support/MultivaluedMapImpl.java:[74,24]
 
name clash: remove(Key,Value) in 
org.opennms.core.soa.support.MultivaluedMapImpl.SynchronizedMultivaluedMap 
and remove(java.lang.Object,java.lang.Object) in java.util.Map have the 
same erasure, yet neither overrides the other
[ERROR] 
/itch2/opennms-dev.git/core/soa/src/main/java/org/opennms/core/soa/support/MultivaluedMapImpl.java:[206,20]
 
name clash: remove(K,V) in 
org.opennms.core.soa.support.MultivaluedMapImpl and 
remove(java.lang.Object,java.lang.Object) in java.util.HashMap have the 
same erasure, yet neither overrides the other
[ERROR] 
/itch2/opennms-dev.git/core/soa/src/main/java/org/opennms/core/soa/support/MultivaluedMap.java:[59,20]
 
name clash: remove(K,V) in org.opennms.core.soa.support.MultivaluedMap 
and remove(java.lang.Object,java.lang.Object) in java.util.Map have the 
same erasure, yet neither overrides the other

There also appear to be identical copies of MultivaludMapImpl.java in 
the tree too:
core/soa/src/main/java/org/opennms/core/soa/support/MultivaluedMapImpl.java
features/topology-map/org.opennms.features.topology.app/src/main/java/org/opennms/features/topology/app/internal/gwt/client/service/support/MultivaluedMapImpl.java


Isn't this something implemented in either the guava-libraries or the 
apache commons collections library?

Ron

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to