Summary: | ArrayIndexOutOfBoundsException under certain conditions | ||
---|---|---|---|
Product: | Regexp | Reporter: | Josh Rodman <josh_rodman-bgz> |
Component: | Other | Assignee: | Jakarta Notifications Mailing List <notifications> |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP |
Description
Josh Rodman
2006-01-20 15:35:04 UTC
instruction is an array of chars, which means it has two bytes values. Offset from one instruction to another takes one char in the array, so it must be within [Short.MIN_VALUE, MAX_VALUE]. Some of the programs (like a{8192}) in current version are compiled into code exceeding this size (more than Short.MAX_VALUE instructions), and so can not be expressed correctly. Added check for this condition to RECompiler. |