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