FC.lock(),tryLock() has "Parameters" section whereas both takes no parameters.

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • None
    • sparc
    • solaris_8

      Documentation for FileChannel.lock() and tryLock() says..

      ------------------------------------------------------------------------------
      Parameters:
      position - The position within the file at which the locked region is to start; must be non-negative
      size - The size of the locked region; must be non-negative, and the sum position + size must be non-negative
      shared - true to request a shared lock, false to request an exclusive lock
      -------------------------------------------------------------------------------

      Whereas both methods take no parameters.

            Assignee:
            Mark Reinhold
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: