changeset 3384:8ea3d41ba8f3

8046067: test/tools/javac/api/6410643/T6410643.java is broken Reviewed-by: darcy, ksrini
author jjg
date Thu, 05 Jun 2014 13:22:37 -0700
parents 5eb7e8bb476b
children b64f8d5b97fa
files test/tools/javac/api/6410643/T6410643.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/tools/javac/api/6410643/T6410643.java	Thu Jun 05 10:57:10 2014 -0700
+++ b/test/tools/javac/api/6410643/T6410643.java	Thu Jun 05 13:22:37 2014 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -40,7 +40,7 @@
                      Iterable<String> classes,
                      Iterable<? extends JavaFileObject> compilationUnits) {
         try {
-            task = tool.getTask(null, null, null, null, null, singleton((JavaFileObject)null));
+            task = tool.getTask(null, null, null, options, classes, compilationUnits);
             throw new AssertionError("Error expected");
         } catch (NullPointerException e) {
             System.err.println("Expected error occurred: " + e);