matthiasblaesing opened a new pull request #2306:
URL: https://github.com/apache/netbeans/pull/2306


   The Filesystems API compatibility module provides implementations for
   Filesystem#getActions for several filesystems. Most filesystem
   implementations are covered by the implementation in
   AbstractFileSystemCompat, but this does not cover implementations
   directly inheriting from Filesystem.
   
   One such filesystem is BinaryFS.
   
   In the SQL Editor the command window function (temp files for SQL
   execution) is backed by a file in the SystemFileSystem, which delegates
   in the end to BinaryFS:
   
   SystemFileSystem-> 
     ModuleLayeredFileSystem ->
       BinaryFS
   
   As BinaryFS does not implement getActions and no patch is provided for
   this class, an AbstractMethodError is raised.
   
   Instead of bailing out with an Error, the compatibility implementation
   now returns an empty array to satisfy the Filesystem#getActions contract.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to