RFR: JDK-8293177: Verify version numbers in legal files [v2]

Hannes Wallnöfer hannesw at openjdk.org
Tue Nov 29 10:52:37 UTC 2022


> 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.

Hannes Wallnöfer has updated the pull request incrementally with one additional commit since the last revision:

  Use jtreg.SkippedException

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11211/files
  - new: https://git.openjdk.org/jdk/pull/11211/files/3d8e7826..0ae44c97

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11211&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11211&range=00-01

  Stats: 5 lines in 1 file changed: 4 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11211.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11211/head:pull/11211

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


More information about the javadoc-dev mailing list