|
From: Nathan S. <nat...@gm...> - 2008-11-16 19:35:30
|
I just downloaded the latest src of Jboost and found 2 possible bugs:
1. EqualitySplitterBuilder
this file imports "import sun.tools.tree.CastExpression;" which it doesn't
use. Additinoally, the ant script doesn't specify that this jar file should
be pulled in from anywhere so this import should really be removed to avoid
compilation problems.
2. InequalitySplitterBuilder
Starting on line 251, there is a dubious assignment:
if (cutIndex==-1) {
cutIndex=-1;
System.out.println(this);
}
did somebody mean to reassign cutIndex to 1 instead?:
if (cutIndex==-1) {
cutIndex=1; // possible correction?
System.out.println(this);
}
The current code causes an ArrayIndexOutOfBoundsException
Nathan
|