[ 
https://issues.apache.org/jira/browse/NETBEANS-6294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17458973#comment-17458973
 ] 

Jaroslav Tulach commented on NETBEANS-6294:
-------------------------------------------

FYI: There also is [non recursive 
folder|https://bits.netbeans.org/dev/javadoc/org-netbeans-modules-queries/org/netbeans/api/fileinfo/NonRecursiveFolder.html]
 which may be somehow related to the "non-presence" of {{FileObject}} in the 
lookup. Anyway I support exposing {{FileObject}} from 
{{DataFolder.getLookup()}} and lookup if its node.

> FileObject for folder has no presentation Node in its lookup
> ------------------------------------------------------------
>
>                 Key: NETBEANS-6294
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-6294
>             Project: NetBeans
>          Issue Type: Bug
>          Components: platform - Data Systems
>    Affects Versions: 12.5
>            Reporter: Svatopluk Dedic
>            Priority: Major
>              Labels: VSNetBeans
>
> ... and DataFolder (and its Node) does not provide FileObject from its 
> Lookup. For details see PR [https://github.com/apache/netbeans/pull/3363] and 
> hacked code in 
> [https://github.com/apache/netbeans/pull/3363/files#diff-8e1f3f0485b58ff61a67f45673d37af218d3bcbb7501d0754b09edb8c5e4fd27R120]
>  
> The bug is there probably from ancient ages, and need to be fixed carefully 
> so it does not break *subclasses* of DataFolder or *delegates* to folder node 
> that could eventually list the FileObject twice.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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

Reply via email to