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.
/export/new_projects/clucene-0.9.10/src/CLucene/search/RangeQuery.cpp 164 Unable to resolve identifier lowerTerm /export/new_projects/clucene-0.9.10/src/CLucene/search/RangeQuery.cpp 166 Unable to resolve identifier upperTerm Name = /export/new_projects/clucene-0.9.10/src/CLucene/search/RangeQuery.cpp, Errors = 0, Warnings = 0, Invalid identifiers = 2, Invalid identifiers (Warnings) = 0, Other Annotations = 0, Errors (Internal API) = 2, Lines = 193
fixed in cnd-main: http://hg.netbeans.org/cnd-main/rev/a0c48c9f4360
fix looks safe and if lucene is back to zero, please, integrate
additional review shows that safe is not completely correct. Needs additional work
example: class A { public: A() {} bool foo(){ return true; } A* bar(bool){ return (A*)0; } }; int main(int argc, char** argv) { A f; f.bar( f.foo() ? f.foo() : f.foo() )->foo(); return 0; }
fixed: http://hg.netbeans.org/cnd-main/rev/e07ecbfae30b
I reviewed. Fix is safe and correct.
manual transplant as 32bb85183372
verified in Build oss-platform-build-61-on-20110916
verified in NetBeans IDE 7.0.1 (Build 201109261118)