RFR: 8062740: Since changeset 2686:56f8be952a5c test/tools/sjavac/DependencyCollection.java does no longer compile
Fredrik Öhrström
oehrstroem at gmail.com
Thu Nov 6 07:59:03 UTC 2014
ok!
On Mon, Nov 3, 2014 at 9:01 PM, Andreas Lundblad <
andreas.lundblad at oracle.com> wrote:
> Hi compiler-dev,
>
> Please review this fix for JDK-8062740. Patch inlined below:
>
> ---------------------------------------------
> diff -r 10100ecb0c97 -r e98b2c43f2a3
> test/tools/sjavac/DependencyCollection.java
> --- a/test/tools/sjavac/DependencyCollection.java Mon Nov 03
> 10:20:34 2014 +0100
> +++ b/test/tools/sjavac/DependencyCollection.java Mon Nov 03
> 13:03:10 2014 +0100
> @@ -32,6 +32,7 @@
> * @run main Wrapper DependencyCollection
> */
>
> +import java.io.IOException;
> import java.io.PrintWriter;
> import java.nio.file.Path;
> import java.nio.file.Paths;
> @@ -55,7 +56,7 @@
>
> public class DependencyCollection {
>
> - public static void main(String[] args) {
> + public static void main(String[] args) throws IOException {
> Path src = Paths.get(ToolBox.testSrc, "test-input", "src");
>
> JavaCompiler javac = ToolProvider.getSystemJavaCompiler();
> ---------------------------------------------
>
> Link to bug report: https://bugs.openjdk.java.net/browse/JDK-8062740
>
> Thanks,
> Andreas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20141106/e127efc4/attachment.html>
More information about the compiler-dev
mailing list