8219628: [TESTBUG] javadoc/doclet/InheritDocForUserTags fails with -othervm

Reviewed-by: jjg, clanger
This commit is contained in:
Nick Gasson 2019-03-14 14:25:09 -07:00
parent d8497d254a
commit 6b79655b44
2 changed files with 5 additions and 4 deletions

View File

@ -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>:",

View File

@ -96,7 +96,7 @@ import java.util.function.Function;
* }
*
* // test methods...
* @Test
* {@literal @}Test
* void test() {
* javadoc(<i>args</i>);
* checkExit(Exit.OK);