zhouit / Zblog

a java blog
http://blog.zhouhaocheng.cn
Apache License 2.0
249 stars 198 forks source link

MapContainer.putIfAbsent()和HashMap.putIfAbsent()方法冲突 #14

Closed bitwool closed 8 years ago

bitwool commented 8 years ago

环境:jdk1.8 、intellij idea 2016.1

zhouit commented 8 years ago

是的,之前的项目是java7,HashMap中还没有这个方法,换到java8确实有冲突,后面更新解决