The compiler falls into an infinite loop instead of giving an error.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 1.1.3
    • Component/s: tools
    • None
    • x86
    • windows_nt



      Name: ggC50526 Date: 08/27/97


      Run the following code which uses cyclic inheritance.

      The compiler falls into an infinite loop when you
      compile the following code. But if you remove the constructor,
      the compiler gives the correct error message.

      import java.awt.*;

      public class New extends New
      {
              public New(String t)
              {
                      super(t);
              }
      }
      company - NCR Corp. , email - ###@###.###
      ======================================================================

            Assignee:
            David Stoutamire (Inactive)
            Reporter:
            Gregory Graham (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: