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

javadoc works with native methods with body

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • tools

       For the code below,
       -------------------

      public class test
      {
              public native void testOne ()
              {
                      System.out.println ("Get Errors");
              }
      }

      Javac fails this case with an error (perfect behaviour) while the Javadoc accepts this and documents the class. Needs a fix.

            gafter Neal Gafter (Inactive)
            rvijayansunw Ra Vijayan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: