8046067: test/tools/javac/api/6410643/T6410643.java is broken
authorjjg
Thu, 05 Jun 2014 13:22:37 -0700
changeset 24798 0b3923dd7afd
parent 24797 850ebd4d80a7
child 24799 abd9a49d0b9c
8046067: test/tools/javac/api/6410643/T6410643.java is broken Reviewed-by: darcy, ksrini
langtools/test/tools/javac/api/6410643/T6410643.java
--- a/langtools/test/tools/javac/api/6410643/T6410643.java	Thu Jun 05 10:57:10 2014 -0700
+++ b/langtools/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);