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

Error on missing return type or misspelled constructor has bad location.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.1
    • tools
    • None
    • sparc
    • solaris_2.5

      Compile this:
      class badconname {
      thisisthename() {
      }
      }
      The error reports a ridiculous line number:
      badconname.java:16383: Invalid method declaration; return type required.

            jrose John Rose
            jrose John Rose
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: