Summary: | ArrayIndexOutOfBounds error accessing array after split | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | dave evartt <davee> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | Olivier_Thomann, srikanth_sankaran, stephan.herrmann |
Version: | 3.5 | Keywords: | needinfo |
Target Milestone: | 3.6 M1 | ||
Hardware: | PC | ||
OS: | Windows Vista | ||
Whiteboard: |
Description
dave evartt
2009-07-20 23:59:42 EDT
If I paste your code into a main method it works just as expected. So my first guess would be that your program re-assigns dep somewhere down and later-on split produces a 1-element array where Q[1] naturally throws an AIOOBE, i.e., the bug would be in your program not in Eclipse. Why this would be a JDT bug ? Please provide a complete test case that works with javac and fails with Eclipse. Closing as INVALID. Provide the data requested in comment 2 to reopen it. Verified for 3.6M1 |