Re: RFR: 8161255, jdk build "all" (docs) fails on all platforms, error from DefaultLoggerFinder.java

2016-07-13 Thread joe darcy
Hi Bhavesh, This looks fine to get the build going again; please push this right away. As we discussed off-list, there will probably need to be some additional javadoc mechanisms so that checking for this kind of implementation detail doesn't run afoul of doclint unnecessarily. Thanks, -Joe

Re: RFR: JDK-8217214: Recent new javadoc test needs to be updated

2019-01-15 Thread Joe Darcy
+1 -Joe On 1/15/2019 3:02 PM, Jonathan Gibbons wrote: Please review this trivial change to reconcile a bad merge. One changeset added a new test which depends on the JavadocTester library; a different changeset moved the library.  The test needs to be updated for the new location of the lib

Re: RFR [15] 8242230: Whitespace typos, relaxed javadoc, formatting

2020-04-07 Thread Joe Darcy
Hi Pavel, Looks fine in general, assuming the change to Class.java renders correctly in output. Thanks, -Joe On 4/7/2020 8:28 AM, Pavel Rappo wrote: Hi Ivan, On 7 Apr 2020, at 09:11, Ivan Gerasimov wrote: Hi Pavel! A couple of comments. 1) java/util/logging/Formatter.java This has on

Re: RFR [15] 8242230: Whitespace typos, relaxed javadoc, formatting

2020-04-07 Thread Joe Darcy
ortion was necessary at the time to get (almost) the desired effect. Thanks, -Joe On 7 Apr 2020, at 20:23, Joe Darcy wrote: Hi Pavel, Looks fine in general, assuming the change to Class.java renders correctly in output. Thanks, -Joe On 4/7/2020 8:28 AM, Pavel Rappo wrote: Hi Ivan,

Re: RFR: [15, doc] JDK-8247382 : doclint errors (missing comments) in jdk.compiler and jdk.javadoc

2020-06-10 Thread Joe Darcy
Looks fine Jon; cheers, -Joe On 6/10/2020 9:07 PM, Jonathan Gibbons wrote: Please review a trivial doc-only change to fix 3 missing doc comments detected by doclint. The new comments do not add any semantically new or interesting information, so no CSR. For the javac case, a preferable solutio

Re: RFR: 8246774: Record Classes (final) implementation

2020-09-21 Thread Joe Darcy
On Mon, 21 Sep 2020 21:36:39 GMT, Vicente Romero wrote: >> Co-authored-by: Vicente Romero >> Co-authored-by: Harold Seigel >> Co-authored-by: Jonathan Gibbons >> Co-authored-by: Brian Goetz >> Co-authored-by: Maurizio Cimadamore >> Co-authored-by: Joe Dar

Re: RFR: JDK-8075778: Add javadoc tag to avoid duplication of return information in simple situations. [v3]

2020-11-25 Thread Joe Darcy
FYI, I had a good experience taking a trial run of this patch to update the java.compiler APIs to use the new feature. I didn't find any issues; a specdiff comparing with and without use of the new tag didn't have any unexpected diffs. (There were cases where small wording differences existed a

Re: RFR: 8257617: TestLinkPlatform fails with new Java source version

2020-12-02 Thread Joe Darcy
On Thu, 3 Dec 2020 06:52:49 GMT, Hannes Wallnöfer wrote: > This fixes the problem that some tests in TestLinkPlatform.java rely on a > static list of properties, causing them to fail when a new Java source > version is added. The solution is to create the properties file on the fly. > > I als

Re: RFR: JDK-8075778: Add javadoc tag to avoid duplication of return information in simple situations.

2020-12-03 Thread Joe Darcy
On Wed, 2 Dec 2020 15:39:56 GMT, Roger Riggs wrote: > > > There is lots of other duplication/repetition in most javadoc. I'd rather see > some kind of text macro that would allow a single definition of a string that > can be repeated. The source would be a bit less readable, but it would be

Re: RFR: JDK-8075778: Add javadoc tag to avoid duplication of return information in simple situations.

2020-12-03 Thread Joe Darcy
On Fri, 27 Nov 2020 16:33:27 GMT, Roger Riggs wrote: > > > ``` > /** > * {@return the result} Optional additional text. > */ > ``` > > The java source looks a bit odd/unusual because the "first sentence" does not > appear to end with a period. > Though it seems like a convenience to inclu

Re: RFR: JDK-8262269: javadoc test TestGeneratedClasses.java fails on Windows

2021-02-23 Thread Joe Darcy
On Wed, 24 Feb 2021 02:09:10 GMT, Jonathan Gibbons wrote: > Fix test to work on Windows. Marked as reviewed by darcy (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/2702

Re: RFR: JDK-8262421: doclint warnings in jdk.compiler module

2021-02-25 Thread Joe Darcy
On Thu, 25 Feb 2021 21:37:01 GMT, Jonathan Gibbons wrote: > Please review this doc fix to provide a couple of missing `@param` tags Marked as reviewed by darcy (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/2731

Re: RFR: 8267832: SimpleVisitors and Scanners in jdk.compiler should use @implSpec [v2]

2021-05-28 Thread Joe Darcy
On Fri, 28 May 2021 19:07:17 GMT, Jan Lahoda wrote: >> As noted in: >> https://bugs.openjdk.java.net/browse/JDK-8265981?focusedCommentId=14423316&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14423316 >> >> Methods in various utility visitor classes in jdk.compile

RFR: 8268299: jvms tag produces incorrect URL

2021-06-06 Thread Joe Darcy
The @jls and @jvms taglet share most of their functionality. A JLS URL looks like https://docs.oracle.com/javase/specs/jls/se16/html/**jls**-8.html#jls-8.1 and a JVMS URL looks like https://docs.oracle.com/javase/specs/jvms/se16/html/**jvms**-4.html#jvms-4.3.2 The current taglet inc

Integrated: 8268299: jvms tag produces incorrect URL

2021-06-07 Thread Joe Darcy
On Sun, 6 Jun 2021 22:03:46 GMT, Joe Darcy wrote: > The @jls and @jvms taglet share most of their functionality. A JLS URL > looks like > > https://docs.oracle.com/javase/specs/jls/se16/html/**jls**-8.html#jls-8.1 > > and a JVMS URL looks like > > > htt

RFR: 8264866: Remove unneeded WorkArounds.isAutomaticModule

2021-06-08 Thread Joe Darcy
Simple cleanup as a follow-on to JDK-8264865. Clean langtools test run. - Commit messages: - 8264866: Remove unneeded WorkArounds.isAutomaticModule Changes: https://git.openjdk.java.net/jdk/pull/4417/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4417&range=00 Issue:

Integrated: 8264866: Remove unneeded WorkArounds.isAutomaticModule

2021-06-08 Thread Joe Darcy
On Tue, 8 Jun 2021 19:37:28 GMT, Joe Darcy wrote: > Simple cleanup as a follow-on to JDK-8264865. Clean langtools test run. This pull request has now been integrated. Changeset: 7a378165 Author: Joe Darcy URL: https://git.openjdk.java.net/jdk/com

RFR: 8271711: Remove WorkArounds.isSynthetic

2021-08-02 Thread Joe Darcy
Switch out logic in WorkArounds for a different expression implemented using javax.lang.model.Elements logic. Langtools regression test suite passes with the changes. - Commit messages: - 8271711: Remove WorkArounds.isSynthetic Changes: https://git.openjdk.java.net/jdk/pull/4967/f

Integrated: 8271711: Remove WorkArounds.isSynthetic

2021-08-03 Thread Joe Darcy
On Tue, 3 Aug 2021 04:40:33 GMT, Joe Darcy wrote: > Switch out logic in WorkArounds for a different expression implemented using > javax.lang.model.Elements logic. > > Langtools regression test suite passes with the changes. This pull request has now been integrated. Changes

Re: [jdk17] RFR: JDK-8270872: Final nroff manpage update for JDK 17

2021-08-05 Thread Joe Darcy
On Thu, 5 Aug 2021 19:20:50 GMT, Jonathan Gibbons wrote: > Please review a semi-automatic update of the nroff man pages from the > upstream files. Marked as reviewed by darcy (Reviewer). - PR: https://git.openjdk.java.net/jdk17/pull/303

Re: RFR: JDK-8271159: [REDO] JDK-8249634 doclint should report implicit constructor as missing javadoc comments

2021-08-11 Thread Joe Darcy
On Wed, 11 Aug 2021 17:38:49 GMT, Jonathan Gibbons wrote: > Please review a do-over of JDK-8249634, to report a missing doc comment when > an implicit/default constructor is used. > > The `src` code is the same as before. The previous version had missing test > files (now added), and had a t

RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields

2021-09-27 Thread Joe Darcy
This is an initial PR for expanded lint warnings done under two bugs: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields 8160675: Issue lint warning for non-serializable non-transient instance fields in serializable type to get feedback on

Re: RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields [v2]

2021-09-27 Thread Joe Darcy
") or other changes in place. > For one module, I temporarily disabled the Xlint:serial check. > > In terms of performance, I have not done benchmarks of the JDK build with and > without these changes, but informally the build seems to take about as long > as before. Joe Darc

RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc

2021-09-27 Thread Joe Darcy
Augmentations to javac's Xlint:serial checking are out for review (#5709) and various javac and javadoc implementation libraries would need some changes to pass under the expanded checks. The changes are to suppress warnings where non-transient fields in serializable types are not declared with

Re: RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields [v3]

2021-09-28 Thread Joe Darcy
") or other changes in place. > For one module, I temporarily disabled the Xlint:serial check. > > In terms of performance, I have not done benchmarks of the JDK build with and > without these changes, but informally the build seems to take about as long > as before. Joe Darc

Re: RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields [v4]

2021-09-28 Thread Joe Darcy
") or other changes in place. > For one module, I temporarily disabled the Xlint:serial check. > > In terms of performance, I have not done benchmarks of the JDK build with and > without these changes, but informally the build seems to take about as long > as before. Joe Dar

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc

2021-09-29 Thread Joe Darcy
On Wed, 29 Sep 2021 17:35:03 GMT, Pavel Rappo wrote: > > > Is there any semantic difference between "not statically Serilizable" and > "not a Serilizable type"? Also, there's a typo: Seri-a-lizable. Same semantics. The first phase of this cleanup used "not statically Serilizable"; however, I

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc [v2]

2021-09-29 Thread Joe Darcy
On Wed, 29 Sep 2021 18:11:24 GMT, Pavel Rappo wrote: > > > > > Is there any semantic difference between "not statically Serilizable" and > > > "not a Serilizable type"? Also, there's a typo: Seri-a-lizable. > > > > > > Same semantics. The first phase of this cleanup used "not statically > >

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc [v2]

2021-09-29 Thread Joe Darcy
t for review separately in an effort to de-bulk the > review needed for the new checks themselves. Joe Darcy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request co

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc [v3]

2021-09-29 Thread Joe Darcy
t for review separately in an effort to de-bulk the > review needed for the new checks themselves. Joe Darcy has updated the pull request incrementally with one additional commit since the last revision: Respond to review feedback. - Changes: - all: https://git.openjdk.java.net/jdk

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc [v4]

2021-09-29 Thread Joe Darcy
t for review separately in an effort to de-bulk the > review needed for the new checks themselves. Joe Darcy has updated the pull request incrementally with one additional commit since the last revision: Update copyright years. - Changes: - all: https://git.openjdk.java.net/jdk/pul

Integrated: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc

2021-09-29 Thread Joe Darcy
On Tue, 28 Sep 2021 00:07:16 GMT, Joe Darcy wrote: > Augmentations to javac's Xlint:serial checking are out for review (#5709) and > various javac and javadoc implementation libraries would need some changes to > pass under the expanded checks. > > The changes are to sup

Re: RFR: 8274405: Suppress warnings on non-serializable non-transient instance fields in javac and javadoc [v3]

2021-09-29 Thread Joe Darcy
On Wed, 29 Sep 2021 22:52:08 GMT, Jonathan Gibbons wrote: > > > There are 3, maybe just 2, groups of files in this review. > > `sjavac` is an internal utility that ought not to be in the `src/` tree, so > the changes there don't matter. > > The various `Result` classes and the javadoc except

Re: RFR: 8202056: Expand serial warning to check for bad overloads of serial-related methods and ineffectual fields [v5]

2021-09-29 Thread Joe Darcy
") or other changes in place. > For one module, I temporarily disabled the Xlint:serial check. > > In terms of performance, I have not done benchmarks of the JDK build with and > without these changes, but informally the build seems to take about as long > as before. Joe D

Re: RFR: 8276635: Use blessed modifier order in compiler code

2021-11-04 Thread Joe Darcy
On Thu, 4 Nov 2021 11:48:04 GMT, Magnus Ihse Bursie wrote: > I ran bin/blessed-modifier-order.sh on source owned by compiler. This scripts > verifies that modifiers are in the "blessed" order, and fixes it otherwise. I > have manually checked the changes made by the script to make sure they are

Re: RFR: JDK-8280488: doclint reference checks withstand warning suppression

2022-01-25 Thread Joe Darcy
On Wed, 26 Jan 2022 02:20:24 GMT, Jonathan Gibbons wrote: > Please review a small modification to the way that bad references are > reported by DocLint. > > A new "mode" is introduced, `strictReferenceChecks`. > > If the mode is _not_ set, references that explicitly include a module name >

RFR: JDK-8280534: Enable compile-time doclint reference checking

2022-01-26 Thread Joe Darcy
The changes in this PR on top of the out-for-review changes in https://git.openjdk.java.net/jdk/pull/7222 allow compile-time doclint checking to be enabled in all JDK modules. Typically, a @SuppressWarnings("doclint:refernce") annotation is added to declaration with javadoc blocks that have alr

Re: RFR: JDK-8280534: Enable compile-time doclint reference checking

2022-01-27 Thread Joe Darcy
On Fri, 28 Jan 2022 00:04:34 GMT, Naoto Sato wrote: > Looks fine. Nit: some files need copyright year updates. Acknowledged; I'll run a copyright update script before pushing (I tend to run that close to pushing to avoid spurious, if minor, merge conflicts). Thanks. - PR: https://

Re: RFR: JDK-8280488: doclint reference checks withstand warning suppression [v2]

2022-01-27 Thread Joe Darcy
On Wed, 26 Jan 2022 16:46:23 GMT, Jonathan Gibbons wrote: >> Please review a small modification to the way that bad references are >> reported by DocLint. >> >> A new "mode" is introduced, `strictReferenceChecks`. >> >> If the mode is _not_ set, references that explicitly include a module n

Re: RFR: JDK-8280534: Enable compile-time doclint reference checking [v2]

2022-01-27 Thread Joe Darcy
nnotation type is not declared to allow its annotations to > be applied to package declarations. I'll look into amending that, but in the > mean time, I think it is beneficial for the JDK build, and the base module in > particular, to have compile-time doclint protections turned on. Joe

Re: RFR: JDK-8280488: doclint reference checks withstand warning suppression [v2]

2022-01-28 Thread Joe Darcy
On Wed, 26 Jan 2022 16:46:23 GMT, Jonathan Gibbons wrote: >> Please review a small modification to the way that bad references are >> reported by DocLint. >> >> A new "mode" is introduced, `strictReferenceChecks`. >> >> If the mode is _not_ set, references that explicitly include a module n

Re: RFR: JDK-8280534: Enable compile-time doclint reference checking [v3]

2022-01-31 Thread Joe Darcy
nnotation type is not declared to allow its annotations to > be applied to package declarations. I'll look into amending that, but in the > mean time, I think it is beneficial for the JDK build, and the base module in > particular, to have compile-time doclint protections turned on. Joe

Integrated: JDK-8280534: Enable compile-time doclint reference checking

2022-01-31 Thread Joe Darcy
On Wed, 26 Jan 2022 20:05:07 GMT, Joe Darcy wrote: > The changes in this PR on top of the out-for-review changes in > https://git.openjdk.java.net/jdk/pull/7222 allow compile-time doclint > checking to be enabled in all JDK modules. > > Typically, a @SuppressWarnings(&q

Re: RFR: JDK-8281007: Test jdk/javadoc/doclet/checkStylesheetClasses/CheckStylesheetClasses.java fails after JDK-8280738

2022-01-31 Thread Joe Darcy
On Tue, 1 Feb 2022 00:22:31 GMT, Jonathan Gibbons wrote: > Remove review a trivial fix to remove a workaround for the absence of some > CSS classes in HtmlStyle.java. Those snippet-related classes have now been > added, and the workaround needs to be removed. Marked as reviewed by darcy (Revie

Re: RFR: 8280713: Related to comment inheritance jdk.javadoc cleanup and refactoring [v3]

2022-02-25 Thread Joe Darcy
On Fri, 25 Feb 2022 17:46:05 GMT, Pavel Rappo wrote: >> Explorative refactoring performed while looking into multiple `@inheritDoc` >> issues. The easiest way to review it is to, probably, go commit by commit; >> they are quite focused and commented. Not only the branch as a whole, but >> all

Re: RFR: 8280713: Related to comment inheritance jdk.javadoc cleanup and refactoring [v3]

2022-03-01 Thread Joe Darcy
On Sat, 26 Feb 2022 01:12:39 GMT, Jonathan Gibbons wrote: > > ElementKind.isExecutable[Element] > > ElementKind.isVariable[Element] > > ElementKind.isDeclaredType() // isClass || isInterface currently > > Yes, predicates for the "unions" would be useful, especially now that the > language is ad

Re: RFR: 8282657: Code cleanup: removing double semicolons at the end of lines

2022-03-04 Thread Joe Darcy
On Fri, 28 Jan 2022 14:39:31 GMT, Matteo Baccan wrote: > Hi > > I have reviewed the code for removing double semicolons at the end of lines > > all the best > matteo Marked as reviewed by darcy (Reviewer). - PR: https://git.openjdk.java.net/jdk/pull/7268

Re: RFR: 8282756: Make ElementKind checks more specific

2022-03-08 Thread Joe Darcy
On Tue, 8 Mar 2022 17:58:28 GMT, Jonathan Gibbons wrote: >> Out of all executable elements, inherit documentation only for methods. > > src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/Utils.java > line 311: > >> 309: // Note that e.getKind().isInterface() is not the

Re: RFR: JDK-8285496: DocLint does not check for missing `@param` tags for type parameters on classes and interfaces

2022-04-28 Thread Joe Darcy
On Thu, 28 Apr 2022 22:32:59 GMT, Jonathan Gibbons wrote: > Please review a trivial update for doclint, to check for `@param` tags for > type parameters of classes and interfaces. > > The bug was discovered recently, while making an update for record > components, but this part of the fix was

Re: RFR: 8286654: Add an optional description accessor on ToolProvider interface

2022-05-19 Thread Joe Darcy
On Wed, 18 May 2022 14:56:47 GMT, Christian Stein wrote: > This PR adds an optional description accessor on `ToolProvider` interface. > > This PR also adds short description for each of the listed tool: > - `jar` > - `javac` > - `javadoc` > - `javap` and `jdeps` > - `jlink` and `jmod` > - `jpack