lahodaj commented on PR #9047:
URL: https://github.com/apache/netbeans/pull/9047#issuecomment-3590207912

   I am sorry, but:
   - hardcoding knowledge specifically of Java into the platform is weird at 
least. I think that would need a very good reason. Why hardcode specifically 
Java?
   - looking at the original logic, I fail to see the issue. I think the filter 
is supposed to only filter out "secondary" files, like `.form`. Offhand, I 
don't recall about any case where `.java` would be a secondary file of a 
`DataObject`. Were there any non-standard 3rd party modules installed? If yes, 
which ones?
   
   Overall, I think I would suggest to investigate why are the `.java` files 
filtered out. One possible way would be to put a breakpoint at the line with 
`DataObject.find(file)`, and observe what happens (in particular, what is the 
instance of the `DataObject`, and why the `.java` is not its primary file).
   
   FTR, I tried a search on my personal build from mainline from today, and it 
also was able to find occurrences in my `.java` files.


-- 
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.

To unsubscribe, e-mail: [email protected]

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