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

Cleanup of test java/nio/channels/FileChannel/Lock.java

XMLWordPrintable

    • b134

        The test for FileChannel locks shall be cleaned/enhanced:
        - Consistently use "try-with-resources".
        - Add comments to methods.
        - Add a tag for bug 7146506 as that issue is tested inherently.
        - Make some variables more descriptive.
        - Log Exceptions that are received via stderr of a secondary VM process that tests acquiring FileChannel Locks more nicely.

              clanger Christoph Langer
              clanger Christoph Langer
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: