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

(fs) UnixNativeDispatcher.close0 may throw UnixException

XMLWordPrintable

    • b14
    • generic
    • generic

      ADDITIONAL SYSTEM INFORMATION :
      Applies to any UNIX/POSIX-ish platform, in theory.

      A DESCRIPTION OF THE PROBLEM :
      The `sun.nio.fs.UnixNativeDispatcher#close0` method can throw exceptions which are not declared or handled in `sun.nio.fs.UnixNativeDispatcher`, when the underlying syscall returns `EIO`, `ENOSPC`, etc.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Not sure; I guess you could set up a bad filesystem via FUSE on Linux and then make it blow up on `close`.


            bpb Brian Burkhalter
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: