--- a/test/langtools/jdk/javadoc/doclet/testModifierEx/TestModifierEx.java Fri Dec 21 16:56:40 2018 +0100
+++ b/test/langtools/jdk/javadoc/doclet/testModifierEx/TestModifierEx.java Fri Dec 21 10:38:33 2018 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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
@@ -24,12 +24,14 @@
/*
* @test
* @summary Ensure the modifiers are correct
- * @library ../lib
+ * @library ../../lib
* @modules jdk.javadoc/jdk.javadoc.internal.tool
- * @build JavadocTester
+ * @build javadoc.tester.*
* @run main TestModifierEx
*/
+import javadoc.tester.JavadocTester;
+
public class TestModifierEx extends JavadocTester {
public static void main(String... args) throws Exception {
@@ -38,7 +40,7 @@
}
@Test
- void test1(){
+ public void test1(){
javadoc("-d", "out-1",
"-sourcepath", testSrc,
"-package", "pkg1");