(doc) FileChannel.lock() and tryLock() documentation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: core-libs
    • fcs
    • sparc
    • solaris_7, solaris_8
    • Verified

      public final FileLock lock() throws IOException

      Signature of this (overloaded) method doesn't have any parameters.
      List of parameters (position, size, shared) need to be removed from API documentation.

      Also, IllegalArgumentException is listed in Throws block. This may be unnecessary.

      ditto for method
      public final FileLock tryLock() throws IOException

            Assignee:
            Mark Reinhold
            Reporter:
            Harshad Vilekar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: