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

SPEC: description of events and methods switching state is incomplete

XMLWordPrintable



      Name: dkR10031 Date: 12/10/2002



      The J2SE 1.4 API specification proposes the following events for detecting
      a dataline state switching: OPEN, CLOSE, START, STOP. Also
      specification proposes the following methods for the dataline state
      switching: open(), close(),start(), stop(). As well, dataline state
      can be switched if write() or read() methods has been called.

      However, the description is incomplete since the specification does not
      specify which methods are synchronous and which are not synchronous and
      this ambiguity makes difficult to interpret received events and results of
      the dataline state checking methods( isActive(), isRunning(), isOpen()).
      If this depends on an implementation then all such cases should be
      described in specification.

      ======================================================================

            amenkov Alex Menkov
            dimasunw Dima Dima (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: