Some input files use or override a deprecated API

2019-02-16 13:38发布

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条回答
疯言疯语
2楼-- · 2019-02-16 14:01

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.

查看更多
登录 后发表回答