java-topology/test/langtools/tools/doclint/tool/MaxDiagsTest.java
russell@unturf.com 0a580b313d undefect. CWE-407 — 63 sites patched across 27 ecosystems
Authors: russell@unturf.com · brackishbert@gmail.com · foxhop.net · TimeHexOn.com

Patches, unit tests, benchmarks, whitepaper, and outreach briefs.
Public domain — no copyright claimed. Use freely.
2026-03-26 17:11:57 -04:00

24 lines
717 B
Java

/*
* @test /nodynamiccopyright/
* @bug 8006263
* @summary Supplementary test cases needed for doclint
* @library ..
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
* @build DocLintTester
* @run main DocLintTester -ref MaxDiagsTest.out -Xmaxerrs 2 -Xmaxwarns 2 MaxDiagsTest.java
* @run main DocLintTester -badargs -Xmaxerrs
* @run main DocLintTester -badargs -Xmaxwarns
* @run main DocLintTester -badargs -Xmaxerrs two -Xmaxwarns two MaxDiagsTest.java
*/
public class MaxDiagsTest {
/**
* � � � �
*/
public void errors() { }
/** 4 undocumented signature items */
public int warnings(int a1, int a2) throws Exception { return 0; }
/** */ MaxDiagsTest() { }
}