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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM