Typo in source for RemoteAgent.objectFinalize() .

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 1.1.4
    • Affects Version/s: 1.1.1
    • Component/s: tools
    • None
    • 1.1.4
    • x86
    • windows_nt
    • Not verified



      Name: joT67522 Date: 08/19/97


      The source code for "src/share/sun/sun/tools/debug/RemoteAgent.java"
      contains a mistake:

          void objectFinalize(int id) throws Exception {
              synchronized (out) {
                  out.write(CMD_OBJECT_FINALIZED);
                  out.writeInt(id);
                  out.write(CMD_OBJECT_FINALIZED); <--WRONG
              }
          }

      The method should actually be:

          void objectFinalize(int id) throws Exception {
              synchronized (out) {
                  out.write(CMD_OBJECT_FINALIZED);
                  out.writeInt(id);
                  getReply(CMD_OBJECT_FINALIZED); <--RIGHT
              }
          }



      company - IBM , email - ###@###.###
      ======================================================================

            Assignee:
            Robert Field (Inactive)
            Reporter:
            Joon Oh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: