Returns the value of the i
record component.
""");
}
@Test
public void test8277300() {
javadoc("-d", "out-8277300",
"--add-exports", "java.base/jdk.internal.javac=api2",
"--source-path", Paths.get(testSrc, "api2").toAbsolutePath().toString(),
"--show-packages=all",
"api2/api");
checkExit(Exit.OK);
checkOutput("api2/api/API.html", true,
"
test()
",
"
testNoPreviewInSig()
",
"title=\"class or interface in java.util\" class=\"external-link\">List<
APIPREVIEW>");
checkOutput("api2/api/API2.html", true,
"
API.test()
PREVIEW",
"
API.testNoPreviewInSig()
PREVIEW",
"
API3.test()
PREVIEW");
checkOutput("api2/api/API3.html", true,
"
");
}
@Test
public void test8282452() {
javadoc("-d", "out-8282452",
"--patch-module", "java.base=" + Paths.get(testSrc, "api").toAbsolutePath().toString(),
"--add-exports", "java.base/preview=m",
"--source-path", Paths.get(testSrc, "api").toAbsolutePath().toString(),
"--show-packages=all",
"preview");
checkExit(Exit.OK);
checkOutput("java.base/preview/NoPreview.html", false,
"refers to one or more preview");
}
}