-
Bug
-
Resolution: Unresolved
-
P5
-
8, 11, 17, 21, 22, 23
-
None
There is a cycle in com.sun.imageio.plugins.common.PaletteBuilder#reduceTree
protected void reduceTree() {
int level = reduceList.length - 1;
while (reduceList[level] == null && level >= 0) {
level--;
}
Condition 'level >= 0' is always true, because it's called after array access.
protected void reduceTree() {
int level = reduceList.length - 1;
while (reduceList[level] == null && level >= 0) {
level--;
}
Condition 'level >= 0' is always true, because it's called after array access.