On Thu, 17 Nov 2022 14:15:52 GMT, Hannes Wallnöfer <[email protected]> wrote:

> Please review the addition of a new JavaDoc test to check the version of 3rd 
> party libraries in legal files against the versions of actual library code. 
> The skeleton for this test (mostly looking up files in the source tree) was 
> taken from `CheckManPageOptions.java`. The test uses a regular expression to 
> extract the name and version of 3rd party libraries in the `share/legal` 
> directory and then matches these strings against the contents of the actual 
> library files. 
> 
> The 3rd party libraries currently in use by JavaDoc are jQuery and jQuery-UI 
> so the test infrastructure has some bits that facilitate JavaScript code such 
> as support for both minified and unprocessed files, but it should work 
> equally well for Java and other code.

This pull request has now been integrated.

Changeset: 69ede5ba
Author:    Hannes Wallnöfer <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/69ede5baeda6645aa3e961a02cbd40db965fc6a1
Stats:     153 lines in 1 file changed: 153 ins; 0 del; 0 mod

8293177: Verify version numbers in legal files

Reviewed-by: jjg

-------------

PR: https://git.openjdk.org/jdk/pull/11211

Reply via email to