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