You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by HRH <hr...@yahoo.com.INVALID> on 2020/05/23 16:24:30 UTC

Compiler warnings

Hi,Using the Netbeans 12 beta 4. I am getting a compiler warning on a Main Class:
Compiler warning: " Class xxxx uses unchecked or unsafe operation. Note: Recompile with -Xlint:unchecked for details".
In the Run->Set project Configuration->Customize->Build->Compiling->Run Compilation with external VM->Additional Compile options: I entered -Xlint:unchecked
I recompiled the code hoping for more details but the same compiler warning produced again as if it does not see the -Xlint:unchecked.
In Netbeans 11.3, the -Xlint:unchecked used to produce more information. Is this a bug in release 12 beta 4?
Thanks for any feedback.

Re: Compiler warnings

Posted by Peter <to...@gmail.com>.

On 2020/05/23 16:24:30, HRH <hr...@yahoo.com.INVALID> wrote: 
> Hi,Using the Netbeans 12 beta 4. I am getting a compiler warning on a Main Class:
> Compiler warning: " Class xxxx uses unchecked or unsafe operation. Note: Recompile with -Xlint:unchecked for details".
> In the Run->Set project Configuration->Customize->Build->Compiling->Run Compilation with external VM->Additional Compile options: I entered -Xlint:unchecked
> I recompiled the code hoping for more details but the same compiler warning produced again as if it does not see the -Xlint:unchecked.
> In Netbeans 11.3, the -Xlint:unchecked used to produce more information. Is this a bug in release 12 beta 4?
> Thanks for any feedback.
> I have this same question. I want to run with -Xlint:unchecked compiler option. How do I do this?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@netbeans.apache.org
For additional commands, e-mail: users-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists