test/langtools/jdk/javadoc/doclet/testLambdaFeature/TestLambdaFeature.java
changeset 53097 2e82ca64b25d
parent 52616 1a395165c09b
child 55197 0ca8e495bbba
--- a/test/langtools/jdk/javadoc/doclet/testLambdaFeature/TestLambdaFeature.java	Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testLambdaFeature/TestLambdaFeature.java	Fri Dec 21 10:38:33 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2012, 2018, 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,9 +27,9 @@
  * @summary  Make sure that the lambda feature changes work fine in
  *           javadoc.
  * @author   bpatel
- * @library  ../lib/
+ * @library  ../../lib/
  * @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build    JavadocTester TestLambdaFeature
+ * @build    javadoc.tester.* TestLambdaFeature
  * @run main TestLambdaFeature
  */
 
@@ -39,6 +39,8 @@
  *              removed [ 8022738 ]
  */
 
+import javadoc.tester.JavadocTester;
+
 public class TestLambdaFeature extends JavadocTester {
 
     public static void main(String... args) throws Exception {
@@ -47,7 +49,7 @@
     }
 
     @Test
-    void testDefault() {
+    public void testDefault() {
         javadoc("-d", "out-default",
                 "-sourcepath", testSrc,
                 "pkg", "pkg1");
@@ -101,7 +103,7 @@
     }
 
     @Test
-    void testSource7() {
+    public void testSource7() {
         javadoc("-d", "out-7",
                 "-sourcepath", testSrc,
                 "-source", "1.7",