8219628: [TESTBUG] javadoc/doclet/InheritDocForUserTags fails with -othervm
Reviewed-by: jjg, clanger
This commit is contained in:
parent
d8497d254a
commit
6b79655b44
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2013, 2019, 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
|
||||
@ -32,6 +32,8 @@
|
||||
* @run main DocTest
|
||||
*/
|
||||
|
||||
import javadoc.tester.JavadocTester;
|
||||
|
||||
/**
|
||||
* DocTest documentation.
|
||||
*
|
||||
@ -39,8 +41,6 @@
|
||||
* @implSpec DocTest implementation spec.
|
||||
* @implNote DocTest implementation note.
|
||||
*/
|
||||
import javadoc.tester.JavadocTester;
|
||||
|
||||
public class DocTest extends JavadocTester {
|
||||
public static void main(String... args) throws Exception {
|
||||
DocTest tester = new DocTest();
|
||||
@ -51,6 +51,7 @@ public class DocTest extends JavadocTester {
|
||||
public void test() {
|
||||
javadoc("-verbose",
|
||||
"-d", "DocTest",
|
||||
"-sourcepath", System.getProperty("test.src.path"),
|
||||
"-tag", "apiNote:optcm:<em>API Note</em>",
|
||||
"-tag", "implSpec:optcm:<em>Implementation Requirements</em>:",
|
||||
"-tag", "implNote:optcm:<em>Implementation Note</em>:",
|
||||
|
@ -96,7 +96,7 @@ import java.util.function.Function;
|
||||
* }
|
||||
*
|
||||
* // test methods...
|
||||
* @Test
|
||||
* {@literal @}Test
|
||||
* void test() {
|
||||
* javadoc(<i>args</i>);
|
||||
* checkExit(Exit.OK);
|
||||
|
Loading…
x
Reference in New Issue
Block a user