Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 191842 - Multiple Sources exists for single FileObject
Multiple Sources exists for single FileObject
Product: editor
Classification: Unclassified
Component: Parsing & Indexing
All All
: P2 (vote)
: 7.0
Assigned To: Tomas Zezula
Depends on:
Blocks: 185714 189889
  Show dependency treegraph
Reported: 2010-11-11 12:24 UTC by Tomas Zezula
Modified: 2010-11-14 06:23 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2010-11-11 12:24:11 UTC
The PHP support is slowed down by multiple Sources (SourceCaches, Parsers, Results) existing for single FileObject.
Comment 1 Tomas Zezula 2010-11-11 12:31:31 UTC
Fixed jet-main afecafba372e
Comment 2 Petr Jiricka 2010-11-11 14:57:40 UTC
Marian and I discussed whether this could be put into the beta, but Tomas says it is somewhat risky and he is not confident about the patch. How can it be verified that this did not break anything?
Comment 3 Marian Mirilovic 2010-11-11 15:02:08 UTC
Ok, if I understand it correctly :
- this is fixing just part of the slowness reported in issue 185714
- this fix itself is risky and we haven't tested it yet (and it will rise testing of wide area)

If the above is correct, I vote against integration into NB 7.0 Beta, and leave it only in the trunk.
Comment 4 Tomas Zezula 2010-11-11 15:04:09 UTC
By testing. I believe that the recreation of the Source is not needed, but someone should try.
The testers should do (open java| parsing-api) files during scan. Do changes to it after the scan.
Are the sources valid (the changes are visible)?
Comment 5 Quality Engineering 2010-11-14 06:23:03 UTC
Integrated into 'main-golden', will be available in build *201011140001* on (upload may still be in progress)
User: Tomas Zezula <>
Log: #191842:Multiple Sources exists for single FileObject

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo