--- a/langtools/test/tools/javac/lambda/T8129740/SourceToSourceTranslationTest.java Thu Mar 31 14:56:33 2016 -0700
+++ b/langtools/test/tools/javac/lambda/T8129740/SourceToSourceTranslationTest.java Thu Mar 31 15:20:50 2016 -0700
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2016, 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
@@ -27,10 +27,9 @@
* @summary Incorrect class file created when passing lambda in inner class constructor
* @library /tools/lib
* @modules jdk.compiler/com.sun.tools.javac.api
- * jdk.compiler/com.sun.tools.javac.file
* jdk.compiler/com.sun.tools.javac.main
* jdk.jdeps/com.sun.tools.javap
- * @build ToolBox
+ * @build toolbox.ToolBox
* @run compile -XD-printsource SourceForTranslation.java
* @run main SourceToSourceTranslationTest
*/
@@ -39,6 +38,8 @@
import java.nio.file.Paths;
import java.util.List;
+import toolbox.ToolBox;
+
public class SourceToSourceTranslationTest {
public static void main(String[] args) throws Exception {