RFR [16/java.xml] 8251561: Fix doclint warnings in the java.xml package
Roger Riggs
Roger.Riggs at oracle.com
Tue Aug 25 15:09:23 UTC 2020
Hi Joe,
Eliminating the checking for warnings in org.w3c is fine. Please be more
specific in the comment.
"Ignore the doclint warnings in the W3C DOM package"
org/xml/...: If we're suppressing the warnings for org/xml/... then the
files changes are unnecessary?
Remove the addition of -Xmaxwarns, it should stay the default.
Since its a makefile change, please copy build-dev at openjdk.java.net.
The first line comments should terminate with a period ".".
javax/xml/stream/FactoryConfigurationError.java:40
javax/xml/stream/XMLStreamException.java:41
javax/xml/xpath/XPathException.java:44 And capitable "Serializable".
javax/xml/stream/events/Attribute.java: 50; add "normalized" to the
@return line so it is the same as the first line.
For simple get methods, the @return mimics the first line.
javax/xml/stream/events/NotationDeclaration.java:43 add "notation"
Thanks, Roger
p.s. There is lots of other cleanup of the javadoc, using @code around
true, false,
missing periods at the end of first sentences, etc. But that's a
different task.
On 8/24/20 5:44 PM, Joe Wang wrote:
> Hi all, adding Roger's comment for the make file to webrev_02 (the
> only change to webrev_01 is Docs.gmk):
>
> http://cr.openjdk.java.net/~joehw/jdk16/8251561/webrev_02/
>
> Thanks,
> Joe
>
> On 8/21/20 12:49 PM, naoto.sato at oracle.com wrote:
>> +1
>>
>> Naoto
>>
>> On 8/21/20 12:24 PM, Lance Andersen wrote:
>>> Hi Joe,
>>>
>>> This looks OK.
>>>
>>>
>>>
>>>> On Aug 21, 2020, at 2:23 PM, Joe Wang <huizhe.wang at oracle.com> wrote:
>>>>
>>>> Pelase review a patch to add the missing @return, @throws, @param
>>>> statements in the java.xml package (excluding the DOM component).
>>>>
>>>> JBS: https://bugs.openjdk.java.net/browse/JDK-8251561
>>>> CSR: https://bugs.openjdk.java.net/browse/JDK-8251995
>>>>
>>>> webrev: http://cr.openjdk.java.net/~joehw/jdk16/8251561/webrev_01/
>>>>
>>>> Thanks,
>>>> Joe
>>>
>>>
>>> Best
>>> Lance
>>> ------------------
>>>
>>>
>>>
>>>
>>> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
>>> Oracle Java Engineering
>>> 1 Network Drive
>>> Burlington, MA 01803
>>> Lance.Andersen at oracle.com
>>>
>>>
>>>
>>>
>
More information about the core-libs-dev
mailing list