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

compiler allows self-recursive constructors

    XMLWordPrintable

Details

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

    Description

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

          bug130() {
      this();
          }
      }

         The compiler should produce a warning in that case.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: