JDK-8181149 : Fix lint warnings in JAXP repo
  • Type: Task
  • Component: xml
  • Sub-Component: jaxp
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-05-26
  • Updated: 2017-12-01
  • Resolved: 2017-12-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10
10Fixed
Sub Tasks
JDK-8176891 :  
JDK-8181150 :  
JDK-8181151 :  
JDK-8181153 :  
JDK-8181154 :  
JDK-8181155 :  
JDK-8191356 :  
JDK-8191938 :  
Description
Cleaning up warnings in the JAXP repo.

When -Xlint:all was enabled in the jdk repo, there were 5230 warnings in JAXP repo. After cleanups along with bug fixes, we current have 3165 left. 

java.xml: 3165 total warnings
[rawtypes]: 1404
[unchecked] 984
[cast]: 150
[dep-ann]: 96
[deprecation]: 219
[fallthrough]: 29
[serial]: 271
[static]: 12 

Comments
JAXP/java.xml module is now free from lint warnings. -Xlint:all enabled. There are still a large amount of doclint. For public APIs, the doclint are all in the StAX, DOM and SAX packages. A doclint flag is enabled on public APIs that we care about, excluding StAX, DOM and SAX.
01-12-2017