src/share/classes/com/sun/tools/javap/DisassemblerTool.java

changeset 1358
fc123bdeddb8
parent 581
f2fdd52e4e87
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/com/sun/tools/javap/DisassemblerTool.java	Tue Oct 09 19:10:00 2012 -0700
     1.2 +++ b/src/share/classes/com/sun/tools/javap/DisassemblerTool.java	Tue Oct 09 19:31:58 2012 -0700
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 2005, 2008, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 2005, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -29,11 +29,13 @@
    1.11  import java.nio.charset.Charset;
    1.12  import java.util.Locale;
    1.13  import java.util.concurrent.Callable;
    1.14 +import javax.tools.Diagnostic;
    1.15  import javax.tools.DiagnosticListener;
    1.16  import javax.tools.JavaFileManager;
    1.17  import javax.tools.JavaFileObject;
    1.18  import javax.tools.OptionChecker;
    1.19  import javax.tools.StandardJavaFileManager;
    1.20 +import javax.tools.StandardLocation;
    1.21  import javax.tools.Tool;
    1.22  
    1.23  /**
    1.24 @@ -69,9 +71,7 @@
    1.25       * @param options compiler options, {@code null} means no options
    1.26       * @param classes class names (for annotation processing), {@code
    1.27       * null} means no class names
    1.28 -     * @param compilationUnits the compilation units to compile, {@code
    1.29 -     * null} means no compilation units
    1.30 -     * @return an object representing the compilation
    1.31 +     * @return a task to perform the disassembly
    1.32       * @throws RuntimeException if an unrecoverable error
    1.33       * occurred in a user supplied component.  The
    1.34       * {@linkplain Throwable#getCause() cause} will be the error in

mercurial