This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Method FileUtil.copyAttributes(FileObject source, FileObject dest) uses list of transient attributes. Absence of access to the list makes impossible to implement coping attributes for remote file system. Suggestion: - list of transient attributes should be protected method of file system.
I am not sure why. Call to FileUtil.copyAttributes will pick these values. If you don't like what copyAttributes does, then you probably want to write your own method from scratch right?
(In reply to comment #1) > I am not sure why. Call to FileUtil.copyAttributes will pick these values. If > you don't like what copyAttributes does, then you probably want to write your > own method from scratch right? Yes, RFS need to write own method, but cannot because RFS does not know full list of transient fields. Is it possible to add RFS-specific transient attributes in FileUtil? It resolves the issue.
This is really not API useful for anyone else. Just copy the list and write a JUnit test that makes sure your list and fs list is the same. You can expose the list of FS attributes from one of the tests in openide.filesystems/test/unit/src/org.openide.filesystems package.