fix the problem of rollup on Java6. (issue #100)