Issue 1585 - android - IntBuffer.clear() overflow bug - Project Hosting on Google Code

That's the google bug report with example code. The code I found where they were testing it is in archive.tar inside dalvik.tgz in the tests/070-nio-buffer/src folder.