Commit Graph

572 Commits

Author SHA1 Message Date
Jonathan Gibbons
b533272ecb 8299627: Fix/improve handling of "missing" element-list file
Reviewed-by: hannesw
2024-01-16 18:41:25 +00:00
Pavel Rappo
7d42aa1513 8310277: jdk/javadoc/doclet/testMethodCommentAlgorithm/TestMethodCommentsAlgorithm.java fails with IllegalStateException
Reviewed-by: jjg
2024-01-09 11:31:50 +00:00
Jonathan Gibbons
be4614eb5e 8323016: Improve reporting for bad options
Reviewed-by: prappo
2024-01-05 22:16:52 +00:00
Adam Sotona
2838a916ab 8288989: Make tests not depend on the source code
Reviewed-by: mcimadamore
2023-12-14 11:36:57 +00:00
Joe Darcy
781775d73b 8321484: Make TestImplicitlyDeclaredClasses release independent
Reviewed-by: vromero
2023-12-06 21:24:56 +00:00
Pavel Rappo
430564cf88 8308715: Create a mechanism for Implicitly Declared Class javadoc
Reviewed-by: jjg
2023-12-05 22:09:05 +00:00
Jim Laskey
04ad98ed32 8315458: Implement JEP 463: Implicitly Declared Classes and Instance Main Method (Second Preview)
Reviewed-by: jlahoda, mcimadamore, vromero, rriggs, alanb, mchung
2023-11-30 12:49:49 +00:00
Liam Miller-Cushon
62418c681e 8319444: Unhelpful failure output in TestLegalNotices
Reviewed-by: hannesw, jjg
2023-11-29 17:49:30 +00:00
Jonathan Gibbons
407cdd4cac 8320207: doclet incorrectly chooses code font for a See Also link
Reviewed-by: hannesw
2023-11-22 17:23:38 +00:00
Hannes Wallnöfer
30d895383e 8275889: Search dialog has redundant scrollbars
Reviewed-by: jjg
2023-11-20 18:32:20 +00:00
Hannes Wallnöfer
cee54de41b 8319988: Wrong heading for inherited nested classes
Reviewed-by: jjg
2023-11-20 18:26:21 +00:00
Pavel Rappo
c9077b8b81 8319339: Internal error on spurious markup in a hybrid snippet
Reviewed-by: jjg
2023-11-10 16:50:53 +00:00
Jonathan Gibbons
c86592d38d 8319046: Execute tests in source/class-file order in JavadocTester
Reviewed-by: hannesw
2023-11-01 15:48:31 +00:00
Jonathan Gibbons
3660a90ad8 8319139: Improve diagnosability of JavadocTester output
Reviewed-by: hannesw
2023-11-01 15:33:53 +00:00
Jonathan Gibbons
b3fec6b5f3 8306980: Generated docs should contain correct Legal Documents
Reviewed-by: ihse, mchung
2023-10-31 22:03:35 +00:00
Pavel Rappo
fd332da1c8 8317289: javadoc fails with -sourcepath if module-info.java contains import statements
Reviewed-by: jlahoda
2023-10-24 08:46:10 +00:00
Pavel Rappo
fc29a2e152 8318082: ConcurrentModificationException from IndexWriter
Reviewed-by: jjg
2023-10-23 09:24:51 +00:00
Jonathan Gibbons
2f4d601a56 8314975: JavadocTester should set source path if not specified
Reviewed-by: hannesw
2023-10-17 21:00:29 +00:00
Hannes Wallnöfer
0ba48ef4ab 8316972: Add javadoc support for restricted methods
Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org>
Reviewed-by: jjg
2023-10-17 20:32:41 +00:00
Hannes Wallnöfer
eb7d972d8a 8308659: Use CSS scroll-margin instead of flexbox layout in API documentation
Reviewed-by: jjg
2023-10-16 12:56:41 +00:00
Jonathan Gibbons
3ff5a781db 8317693: Unused parameter to Tokens.Token.comment method
Reviewed-by: iris, jlahoda
2023-10-09 17:53:57 +00:00
Pavel Rappo
a01b3fb8e9 8288660: JavaDoc should be more helpful if it doesn't recognize a tag
Reviewed-by: jjg
2023-09-06 07:51:14 +00:00
Pavel Rappo
aecbb1b5c3 8314448: Coordinate DocLint and JavaDoc to report on unknown tags
Reviewed-by: jjg
2023-08-18 16:40:51 +00:00
Hannes Wallnöfer
52ec4bcb1b 8303056: Improve support for Unicode characters and digits in JavaDoc search
Reviewed-by: jjg
2023-08-09 09:50:21 +00:00
Hannes Wallnöfer
77e5739f60 8310118: Resource files should be moved to appropriate directories
Reviewed-by: jjg
2023-08-09 07:01:15 +00:00
Jonathan Gibbons
e2cb0bc6f1 8313204: Inconsistent order of sections in generated class documentation
Reviewed-by: hannesw, prappo
2023-07-28 17:05:37 +00:00
Hannes Wallnöfer
02a04731b1 8312445: Array types in annotation elements show square brackets twice
Reviewed-by: prappo
2023-07-26 13:04:39 +00:00
Jonathan Gibbons
3c644dc586 8312044: Simplify toolkit Builder/Writer world
Reviewed-by: prappo
2023-07-21 18:51:06 +00:00
Hannes Wallnöfer
0741cd3289 8311264: JavaDoc index comparator is not transitive
Reviewed-by: jjg
2023-07-06 07:08:20 +00:00
Hannes Wallnöfer
21f6d83358 8309471: Limit key characters in static index pages
Reviewed-by: jjg
2023-06-16 15:04:07 +00:00
Pavel Rappo
3e0bbd290c 8285368: Overhaul doc-comment inheritance
6376959: Algorithm for Inheriting Method Comments seems to go not as documented
6934301: Support directed inheriting of class comments with @inheritDoc

Reviewed-by: jjg, rriggs, aivanov, smarks, martin
2023-06-15 17:47:41 +00:00
Jim Laskey
1d1ed0d8f7 8309957: Rename JDK-8309595 test to conform
Reviewed-by: rriggs
2023-06-14 11:58:03 +00:00
Jim Laskey
0be39054a6 8309595: Allow javadoc to process unnamed classes
Reviewed-by: hannesw
2023-06-08 17:51:11 +00:00
Pavel Rappo
01455a07a7 8304878: ConcurrentModificationException in javadoc tool
Reviewed-by: jjg
2023-06-06 10:06:52 +00:00
Hannes Wallnöfer
db0857ddd8 8306578: Report error if no label given in @see and {@link} when no default is available
Reviewed-by: jjg
2023-06-05 09:39:19 +00:00
Jonathan Gibbons
09514745fc 8309150: Need to escape " inside attribute values
Reviewed-by: prappo
2023-05-31 21:20:05 +00:00
Hannes Wallnöfer
a92363461d 8286470: Support searching for sections in class/package javadoc
Reviewed-by: jjg
2023-05-26 18:36:45 +00:00
Hannes Wallnöfer
3272e2597a 8305710: Line breaks in search tags cause invalid JSON in index file
Reviewed-by: jjg
2023-05-25 07:40:44 +00:00
Hannes Wallnöfer
3f4abff59c 8305958: Use links instead of buttons for auto-generated header links
Reviewed-by: jjg
2023-05-25 07:30:03 +00:00
Jonathan Gibbons
f250ab2c2a 8307377: Remove use of tagName from TagletWriterImpl.linkSeeReferenceOutput
Reviewed-by: hannesw
2023-05-10 22:05:58 +00:00
Hannes Wallnöfer
f6ea89795b 8306285: Missing file in search test
Reviewed-by: jjg
2023-05-08 08:03:49 +00:00
Vicente Romero
35e75c131d 8301455: comments in TestTypeAnnotations still refer to resolved JDK-8068737
Reviewed-by: jjg
2023-05-01 20:28:50 +00:00
Jonathan Gibbons
a8871f5d26 8305407: ExternalSpecsWriter should ignore white-space differences in spec titles
Reviewed-by: hannesw
2023-04-07 14:15:46 +00:00
Hannes Wallnöfer
2e91585ac9 8303123: Add line break opportunity to single type parameters
Reviewed-by: jjg
2023-04-03 10:39:56 +00:00
Hannes Wallnöfer
094e03de6a 8299718: JavaDoc: Buttons to copy specific documentation URL are not accessible
Reviewed-by: jjg
2023-04-03 10:37:19 +00:00
Jonathan Gibbons
2f34687ec1 8304689: Add hidden option to disable external spec page
Reviewed-by: erikj, hannesw
2023-03-27 15:42:10 +00:00
Pavel Rappo
7bbc5e0efb 8300517: Refactor VisibleMemberTable (method members)
Reviewed-by: jjg
2023-03-13 20:53:52 +00:00
Hannes Wallnöfer
75d630621c 8303349: Simplify link format for generic types in index pages
Reviewed-by: jjg
2023-03-10 11:07:14 +00:00
Pavel Rappo
45a616a891 8303480: Miscellaneous fixes to mostly invisible doc comments
Reviewed-by: mullan, prr, cjplummer, aivanov, jjg, lancea, rriggs, ihse
2023-03-07 15:31:42 +00:00
Archie L. Cobbs
a917fb3fcf 7033677: potential cast error in MemberEnter
Reviewed-by: vromero, jlahoda
2023-02-17 16:55:35 +00:00
Hannes Wallnöfer
6d4b02b6c9 8302324: Inheritance tree does not show correct type parameters/arguments
Reviewed-by: prappo
2023-02-14 12:42:59 +00:00
Jonathan Gibbons
d53ade12a8 8301813: Bad caret position in error message
Reviewed-by: iris
2023-02-06 18:41:04 +00:00
Roman Marchenko
15a1488401 8297437: javadoc cannot link to old docs (with old style anchors)
Reviewed-by: hannesw
2023-01-26 11:11:21 +00:00
Hannes Wallnöfer
b2d3622115 8299896: Reduce enum values of HtmlLinkInfo.Kind
Reviewed-by: jjg
2023-01-20 14:50:35 +00:00
Jonathan Gibbons
7071397ed9 8299224: TestReporterStreams.java has bad indentation for legal header
Reviewed-by: prappo
2023-01-17 23:43:35 +00:00
Jesper Wilhelmsson
5393dc9a48 Merge 2023-01-07 02:05:59 +00:00
Pavel Rappo
284c94e20d 8298525: javadoc crashes with "UnsupportedOperationException: Not yet implemented" in SeeTaglet.inherit
Reviewed-by: jjg
2023-01-05 22:43:20 +00:00
Jonathan Gibbons
2294f225c0 8286311: remove boilerplate from use of runTests
Reviewed-by: hannesw
2022-12-22 21:20:43 +00:00
Hannes Wallnöfer
6a7a0db587 8296619: Upgrade jQuery to 3.6.1
Reviewed-by: jjg
2022-12-05 16:23:01 +00:00
Daniel D. Daugherty
6e5470525d 8295424: adjust timeout for another JLI GetObjectSizeIntrinsicsTest.java subtest
8297367: disable TestRedirectLinks.java in slowdebug mode
8297369: disable Fuzz.java in slowdebug mode

Reviewed-by: sspitsyn, jjg, cjplummer, lmesnik
2022-12-02 22:29:21 +00:00
Jonathan Gibbons
3b513a4f5c 8297802: display of @spec tags should mimic that of @see tags
Reviewed-by: prappo
2022-12-01 00:26:27 +00:00
Jaikiran Pai
e10778acce 8297695: Fix typos in test/langtools files
Co-authored-by: Michael Ernst <mernst@openjdk.org>
Reviewed-by: prappo, jjg, iris
2022-11-30 00:42:40 +00:00
Hannes Wallnöfer
69ede5baed 8293177: Verify version numbers in legal files
Reviewed-by: jjg
2022-11-29 14:46:35 +00:00
Hannes Wallnöfer
361b50e724 8292594: Use CSS custom properties for all fonts and colors
Reviewed-by: jjg
2022-11-29 11:50:39 +00:00
Hannes Wallnöfer
b27a61e624 8297216: Search results omit some methods
Reviewed-by: jjg
2022-11-29 10:20:58 +00:00
Christoph Langer
4a544bb0fc 8297091: New langtools test jdk/javadoc/doclet/testValueTag/TestValueFormats.java fails on machines with unexpected number format
Reviewed-by: prappo, jjg
2022-11-22 21:00:08 +00:00
Jonathan Gibbons
5a45c25151 8297164: Update troff man pages and CheckManPageOptions.java
Reviewed-by: dholmes
2022-11-21 22:03:48 +00:00
Pavel Rappo
499406c764 8285488: Improve DocFinder
8287796: Stop auto-inheriting documentation for subclasses of exceptions whose documentation is inherited
8291869: Match exceptions using types of javax.lang.model, not strings
8288045: Clean up ParamTaglet
8288046: Clean up ThrowsTaglet
8295277: Expand {@inheritDoc} in @throws fully

Reviewed-by: jjg
2022-11-16 09:43:21 +00:00
Jonathan Gibbons
82f9819eac 8294536: Update troff form of man page for new --spec-base-url option
Reviewed-by: hannesw
2022-11-04 17:29:25 +00:00
Hannes Wallnöfer
f9c7cdaed6 8294109: JavaDoc search should search whole index
Reviewed-by: jjg
2022-11-04 16:00:36 +00:00
Hannes Wallnöfer
5622b09565 8200337: Generalize see and link tags for user-defined anchors
Reviewed-by: jjg
2022-11-04 14:57:43 +00:00
Magnus Ihse Bursie
b7442d12e2 8295653: Add a graph of the sealed class hierarchy for marked classes
Co-authored-by: Per Minborg <pminborg@openjdk.org>
Reviewed-by: erikj, jjg
2022-11-03 14:51:24 +00:00
Jonathan Gibbons
f5dabf9440 8295088: Update External Spec page to show tabs for hosts
Reviewed-by: hannesw
2022-10-21 19:27:54 +00:00
Magnus Ihse Bursie
d5a1521fde 8295470: Update openjdk.java.net => openjdk.org URLs in test code
Reviewed-by: michaelm, prr, darcy
2022-10-20 10:33:18 +00:00
Hannes Wallnöfer
64da8620e1 8287597: List all preview features on the javadoc PREVIEW page
Reviewed-by: jjg
2022-09-30 11:11:28 +00:00
Jonathan Gibbons
22b59b66d9 8294471: SpecTaglet is inconsistent with SpecTree for inline property
Reviewed-by: prappo
2022-09-27 21:18:12 +00:00
Jonathan Gibbons
b88ee1ee22 6251738: Want a top-level summary page that itemizes all spec documents referenced from javadocs (OEM spec)
Reviewed-by: hannesw
2022-09-26 21:28:39 +00:00
John Neffenger
844a95b907 8292892: Javadoc index descriptions are not deterministic
Reviewed-by: jjg
2022-09-21 08:45:38 +00:00
Leslie Zhai
dfb9c06633 8293535: jdk/javadoc/doclet/testJavaFX/TestJavaFxMode.java fail with jfx
Reviewed-by: jjg
2022-09-16 14:53:30 +00:00
Jonathan Gibbons
0fb9469d93 8290126: Add a check in JavadocTester for "javadoc should not crash"
Reviewed-by: prappo
2022-09-01 22:41:27 +00:00
Joe Darcy
2d18dda3f2 8173605: Remove support for source and target 1.7 option in javac
Reviewed-by: vromero
2022-09-01 16:43:50 +00:00
Jonathan Gibbons
6f297346dc 8293178: Remove obsolete properties from javadoc resource file
Reviewed-by: prappo
2022-08-31 22:11:20 +00:00
Jonathan Gibbons
1b756bfa3a 8236048: Cleanup use of Utils.normalizeNewlines
Reviewed-by: hannesw
2022-08-18 21:57:05 +00:00
Hannes Wallnöfer
d5435642f9 8289334: Use CSS variables to define fonts and colors
Reviewed-by: jjg
2022-08-18 09:02:16 +00:00
Hannes Wallnöfer
8b4e6ba01f 8289332: Auto-generate ids for user-defined headings
Reviewed-by: jjg
2022-08-17 17:14:34 +00:00
Hannes Wallnöfer
1ef4e48488 8273860: Javadoc Deprecated API list should not use italic font for description column
Reviewed-by: jjg
2022-08-17 05:34:44 +00:00
Jonathan Gibbons
8179a191f0 8290243: move seeTagToContent from HtmlDocletWriter to TagletWriterImpl
Reviewed-by: prappo
2022-07-29 21:55:20 +00:00
Pavel Rappo
c1a3347f17 8291358: Fix the "overridding" typo
Reviewed-by: rriggs
2022-07-27 21:48:59 +00:00
Daniel D. Daugherty
9c19d89c9c Merge 2022-07-20 22:56:17 +00:00
David Holmes
17e65bbd23 8290625: Test jdk/javadoc/tool/CheckManPageOptions.java after manpage update
Reviewed-by: hannesw
2022-07-20 13:09:31 +00:00
Jesper Wilhelmsson
522b65743c Merge 2022-07-17 15:11:21 +00:00
Pavel Rappo
15d3329edd 8281969: Bad result for the snippet @link tag if substring/regex consists of whitespace
Reviewed-by: jjg
2022-07-14 22:27:53 +00:00
Jonathan Gibbons
572c14efc6 8288624: Cleanup CommentHelper.getText0
Reviewed-by: hannesw
2022-07-13 14:45:04 +00:00
Jesper Wilhelmsson
d9ca438d06 Merge 2022-07-12 16:16:16 +00:00
Pavel Rappo
62fbc3f883 8287379: Using @inheritDoc in an inapplicable context shouldn't crash javadoc
Reviewed-by: jjg
2022-07-11 15:43:20 +00:00
Pavel Rappo
59980ac8e4 8288309: Rename the "testTagInheritence" directory
Reviewed-by: hannesw
2022-07-11 15:31:22 +00:00
Jonathan Gibbons
54b4576f78 8288699: cleanup HTML tree in HtmlDocletWriter.commentTagsToContent
Reviewed-by: hannesw
2022-07-08 19:33:03 +00:00
Jesper Wilhelmsson
01b9f95c62 Merge 2022-07-08 02:07:36 +00:00
Pavel Rappo
8f24d25168 6509045: {@inheritDoc} only copies one instance of the specified exception
Reviewed-by: jjg
2022-07-06 22:01:12 +00:00
Jesper Wilhelmsson
2a6ec88cd0 Merge 2022-07-06 21:01:10 +00:00