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

race condition in IIOPConnection.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.2
    • 1.0, 1.2.1, 1.3.0, 1.4.2
    • other-libs
    • None
    • only
    • x86, sparc
    • solaris_7, windows_98, windows_nt

        Subject: race condition in IIOPConnection.java
        To: ###@###.###
        MIME-Version: 1.0
        Content-MD5: a6e7xDkIshetlXN0MisxxA==


        After long hours of debugging......

        Excerpt from Sanjeev's Email.
        =============================

        In IIOPConnection.CachedWorkerThread, the variable currentWork
        is declared as static. This causes a race condition where two
        threads start working on the same client request. So two replies
        get sent back to the client for one request. So the client's
        ReaderThread throws a NullPointerException and dies.

              ajindalsunw Anita Jindal (Inactive)
              ajindalsunw Anita Jindal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: