intellijidea 编译器源码和目标java版本不一致问题
在使用Arrays.copyof的时候发生如下错误
Usage of API documented as @since 1.6+ less... (Ctrl+F1)
This inspection finds all usages of methods that have @since tag in their documentation. This may be useful when development is performed under newer SDK version as the target platform for production.
工具:intellijidea java 1.8
查了一些资料发现是其他项目的java设置影响了编译器的等级,参考如下博客,可以很完美的解决问题
参考博客:http://blog.csdn.net/u013174217/article/details/53642921