Some input files use or override a deprecated API

半世苍凉 提交于 2019-11-30 23:37:44

问题


I just downloaded the new LWUIT 1.5 and when I compiled my project then I saw in the output trace these lines:

Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

I use Sun Java ME SDK 3.0

So how to make the -Xlint recompilation?


回答1:


according to comments in older SO question, "-Xlint in NetBeans is set under project properties, run or compile options" - see details here: Compiling issue in NetBeans

There is also a thread at Netbeans forums. They say,

Go to the Compiling section of the Project Properties. These is a check box labeled "Report use of deprecated API". Checking that will turn on -Xlint.



来源:https://stackoverflow.com/questions/7470677/some-input-files-use-or-override-a-deprecated-api

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!