The -nowarn flag does not switch off warnings
in the new javac compiler. Tested win32 build
of JDK1_3 build "L" 23 July.
The following will generated a "deprecated method warning"
public class Test extends Thread {
public static void main (String args[])
{
Test t = new Test ();
t.start ();
}
public void run ()
{
stop (); // WARNING
}
}
in the new javac compiler. Tested win32 build
of JDK1_3 build "L" 23 July.
The following will generated a "deprecated method warning"
public class Test extends Thread {
public static void main (String args[])
{
Test t = new Test ();
t.start ();
}
public void run ()
{
stop (); // WARNING
}
}
- relates to
-
JDK-5047307 javac -nowarn improperly suppresses JLS-mandated warnings
-
- Closed
-