src/share/classes/javax/tools/JavaCompiler.java

changeset 1429
3746b071d75b
parent 1413
bdcef2ef52d2
child 1951
fac0d1bb87f2
     1.1 --- a/src/share/classes/javax/tools/JavaCompiler.java	Wed Nov 21 18:40:45 2012 +0000
     1.2 +++ b/src/share/classes/javax/tools/JavaCompiler.java	Wed Nov 21 19:09:39 2012 +0000
     1.3 @@ -108,8 +108,8 @@
     1.4   *     example a recommended coding pattern:
     1.5   *
     1.6   *     <pre>
     1.7 - *       Files[] files1 = ... ; // input for first compilation task
     1.8 - *       Files[] files2 = ... ; // input for second compilation task
     1.9 + *       File[] files1 = ... ; // input for first compilation task
    1.10 + *       File[] files2 = ... ; // input for second compilation task
    1.11   *
    1.12   *       JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
    1.13   *       StandardJavaFileManager fileManager = compiler.getStandardFileManager(null, null, null);
    1.14 @@ -165,7 +165,7 @@
    1.15   *       JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
    1.16   *       StandardJavaFileManager stdFileManager = compiler.getStandardFileManager(null, null, null);
    1.17   *       JavaFileManager fileManager = new ForwardingJavaFileManager(stdFileManager) {
    1.18 - *           public void flush() {
    1.19 + *           public void flush() throws IOException {
    1.20   *               logger.entering(StandardJavaFileManager.class.getName(), "flush");
    1.21   *               super.flush();
    1.22   *               logger.exiting(StandardJavaFileManager.class.getName(), "flush");

mercurial