FileOutputStream fis = new FileOutputStream(classFile);
fis.write(bytecode.getArray(),
bytecode.getOffset(), bytecode.getLength());
fis.flush();
if (logMessage) {
errorStream.printlnWithHeader("Wrote class "+getFullName()+" to file "+classFile.toString()+". Please provide support with the file and the following exception message: "+t);
}
fis.close();
} catch (IOException e) {
if (SanityManager.DEBUG)
SanityManager.THROWASSERT("Unable to write .class file", e);