Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4261227

-nowarn option does not work in new javac

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.3.0
    • tools
    • kestrel
    • x86
    • windows_nt

      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
              }
      }

            iris Iris Clark
            michaelm Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: