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

toString method on self-referential collections causes stack overflow.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.1
    • 1.3.0
    • core-libs
    • None
    • hopper
    • generic
    • generic
    • Verified

           As per bug 4419250, trying to print a self-referential collections causes infinite recursion (stack overflow).

              jjb Josh Bloch (Inactive)
              jjb Josh Bloch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: