Thursday, 28 January 2021

Java9: Resolve Lint and Doclint Warnings

What is Lynting?

Lynting is a process of checking source code for programmatic errors. In case of Java, Lynt analyses byte code and source code for javac, and

report if it found any vulnerabilities.

 

What is Doclint?

Doclint is similar to lynt and specific to Javadoc. DocLint is used to detect errors in Javadoc comments early in the development cycle and in a way that is easily linked back to the source code.

 

The JDK code base contains numerous lint and doclint errors as reported by javac. As part of this feature, these warnings are resolved.

 

Reference

https://openjdk.java.net/jeps/212

https://openjdk.java.net/jeps/172

Previous                                                    Next                                                    Home

No comments:

Post a Comment