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

compiler allows self-recursive constructors

XMLWordPrintable

    • 1.0alpha
    • sparc
    • solaris_2.4
    • Not verified

         The compiler allows a constructor to call it self.
         For example:
      class bug130 {

          bug130() {
      this();
          }
      }

         The compiler should produce a warning in that case.

            ahoffsunw Arthur Hoff (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: