git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@581 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
throws IOException | throws IOException | ||||
{ | { | ||||
int bufsize = 4096; | int bufsize = 4096; | ||||
for (int i = 0; i < 8; ++i) { | |||||
byte[] buf = new byte[bufsize]; | |||||
byte[] buf = null; | |||||
for (int i = 0; i < 64; ++i) { | |||||
if (i < 8) { | |||||
bufsize *= 2; | |||||
buf = new byte[bufsize]; | |||||
} | |||||
int size = 0; | int size = 0; | ||||
int len = 0; | int len = 0; | ||||
do { | do { | ||||
} | } | ||||
} while (size < bufsize); | } while (size < bufsize); | ||||
fout.write(buf); | fout.write(buf); | ||||
bufsize *= 2; | |||||
} | } | ||||
throw new IOException("too much data"); | throw new IOException("too much data"); |