langtools/src/share/classes/com/sun/tools/javac/jvm/ClassWriter.java
changeset 6143 79b7dee406cc
parent 6030 8cb12024680d
child 6575 ae1798028008
equal deleted inserted replaced
6032:03b276d8e6a6 6143:79b7dee406cc
  1602                                                c.sourcefile);
  1602                                                c.sourcefile);
  1603         OutputStream out = outFile.openOutputStream();
  1603         OutputStream out = outFile.openOutputStream();
  1604         try {
  1604         try {
  1605             writeClassFile(out, c);
  1605             writeClassFile(out, c);
  1606             if (verbose)
  1606             if (verbose)
  1607                 log.errWriter.println(Log.getLocalizedString("verbose.wrote.file", outFile));
  1607                 log.printErrLines("verbose.wrote.file", outFile);
  1608             out.close();
  1608             out.close();
  1609             out = null;
  1609             out = null;
  1610         } finally {
  1610         } finally {
  1611             if (out != null) {
  1611             if (out != null) {
  1612                 // if we are propogating an exception, delete the file
  1612                 // if we are propogating an exception, delete the file