The JavaTypeProvider creates lots of useless slow FileObjects which causes significant delay when Go To Type is used for first time after IDE start.
Info from David's log files:
Go to type for the first time took 10s after IDE start and in other invocations less than 3s.
1) The filesystem is cold, so the first access to the lucene indexes takes longer time (2-3s), we can't probably do anything
2) Even more time is spent in the call of ClassPath.getRoots(), something about 6s, I will rewrite it to use URLs.
Integrated into 'main-golden', will be available in build *200810160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Zezula <email@example.com>
Log: #150192:JavaTypeProvider creates useless FileObjects
This issue has lower priority then P2, please enclose the evaluation why this fix should be a part of 65patch1. Thanks
justification of patch: There was lot's of complaints about performance of Go To Type feature, this fix improves it.
The fix has been backported into release65_fixes repository.
verified in patch