[FIX] wrong java assert.