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

Infinite recursive loop in com.sun.sql.DataSetImpl.retainAll

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b47
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Verified

      Description

      FULL PRODUCT VERSION :
      > java -version
      java version "1.6.0-ea"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b39)
      Java HotSpot(TM) Server VM (build 1.6.0-ea-b39, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      SunOS ceti.umiacs.umd.edu 5.9 gspot:s9u2_beta:07/09/2003 sun4u sparc SUNW,Sun-Fire

      A DESCRIPTION OF THE PROBLEM :
      Build b39 of jdk1.6.0 introduced a new class com.sun.sql.DataSetImpl.

      The retainAll(java.util.Collection) method of that class is a one line method (line 957) containing an infinite recursive loop: if this method is ever invoked, it will invoke itself again in an infinite recursive loop that will result in a StackOverflowError.

      This error was found using FindBugs, a status analysis tool for find errors in Java programs. It is freely available from SourceForge at http://findbugs.sourceforge.net/.



      REPRODUCIBILITY :
      This bug can be reproduced always.
      ###@###.### 2005-06-08 23:22:15 GMT

        Attachments

          Activity

            People

            Assignee:
            skaushiksunw Shreyas Kaushik (Inactive)
            Reporter:
            jleesunw Jon Lee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: