Re: Compiler warnings

2021-08-23 Thread Peter



On 2020/05/23 16:24:30, HRH  wrote: 
> Hi,Using the Netbeans 12 beta 4. I am getting a compiler warning on a Main 
> Class:
> Compiler warning: " Class  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-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

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



Compiler warnings

2020-05-23 Thread HRH
Hi,Using the Netbeans 12 beta 4. I am getting a compiler warning on a Main 
Class:
Compiler warning: " Class  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.