Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319258 - Indexer throws an NegativeArraySizeException
Summary: Indexer throws an NegativeArraySizeException
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-indexer (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 7.0.1   Edit
Assignee: Markus Schorn CLA
QA Contact: Markus Schorn CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 07:54 EDT by Markus Schorn CLA
Modified: 2010-07-08 08:23 EDT (History)
0 users

See Also:


Attachments
testcase + fix (16.74 KB, patch)
2010-07-08 08:11 EDT, Markus Schorn CLA
mschorn.eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Schorn CLA 2010-07-08 07:54:43 EDT
While looking for the cause of  Bug #319186, I found that using a function with 255 parameters triggers a NegativeArraySizeException.
Comment 1 Markus Schorn CLA 2010-07-08 08:11:33 EDT
Created attachment 173764 [details]
testcase + fix
Comment 2 Markus Schorn CLA 2010-07-08 08:19:18 EDT
Fixed in 7.0.1 and 8.0 > 20100708.
Comment 3 CDT Genie CLA 2010-07-08 08:23:12 EDT
*** cdt cvs genie on behalf of mschorn ***
Bug 319258: Functions with 255 parameters.

[*] IndexCBindingResolutionBugs.java 1.15 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCBindingResolutionBugs.java?root=Tools_Project&r1=1.14&r2=1.15
[*] IndexCPPBindingResolutionBugs.java 1.43 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java?root=Tools_Project&r1=1.42&r2=1.43

[*] PDOMCLinkage.java 1.69 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/c/PDOMCLinkage.java?root=Tools_Project&r1=1.68&r2=1.69

[*] ITypeMarshalBuffer.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ITypeMarshalBuffer.java?root=Tools_Project&r1=1.2&r2=1.3

[*] TypeMarshalBuffer.java 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/db/TypeMarshalBuffer.java?root=Tools_Project&r1=1.1&r2=1.2

[*] PDOMCPPLinkage.java 1.144 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java?root=Tools_Project&r1=1.143&r2=1.144

[*] CFunctionType.java 1.10 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CFunctionType.java?root=Tools_Project&r1=1.9&r2=1.10

[*] PDOMCLinkage.java 1.68.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/c/PDOMCLinkage.java?root=Tools_Project&r1=1.68&r2=1.68.2.1

[*] ITypeMarshalBuffer.java 1.2.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/ITypeMarshalBuffer.java?root=Tools_Project&r1=1.2&r2=1.2.2.1

[*] TypeMarshalBuffer.java 1.1.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/db/TypeMarshalBuffer.java?root=Tools_Project&r1=1.1&r2=1.1.2.1

[*] PDOMCPPLinkage.java 1.143.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.java?root=Tools_Project&r1=1.143&r2=1.143.2.1

[*] CFunctionType.java 1.9.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/parser/c/CFunctionType.java?root=Tools_Project&r1=1.9&r2=1.9.2.1

[*] IndexCBindingResolutionBugs.java 1.14.6.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCBindingResolutionBugs.java?root=Tools_Project&r1=1.14&r2=1.14.6.1
[*] IndexCPPBindingResolutionBugs.java 1.41.2.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt-core/org.eclipse.cdt.core.tests/parser/org/eclipse/cdt/internal/index/tests/IndexCPPBindingResolutionBugs.java?root=Tools_Project&r1=1.41.2.1&r2=1.41.2.2