RFR: JDK-8222791 Order of evaluation of -link params in Javadoc tool reversed -> regression with split packages
Hannes Wallnöfer
hannes.wallnoefer at oracle.com
Fri Jul 19 16:30:50 UTC 2019
Hi Jon,
Looks good!
Hannes
> Am 18.07.2019 um 23:45 schrieb Jonathan Gibbons <jonathan.gibbons at oracle.com>:
>
> Please review a simple fix and a corresponding test for a regression in the
> way that a series of -link or -linkoffline options are processed. When
> a package appears in multiple APIs, either as different versions, or for a split
> package, the behavior changed from "first one wins" to "last one wins".
>
> The problem and basic solution are given by Uwe in the JBS issue. Thanks, Uwe.
>
> The fix here is as outlined in the JBS issue (replace "put" by "putIfAbsent"),
> together with some localized cosmetic changes.
>
> The test creates a couple of libraries and places them in different order
> on the javadoc command line and verifies that "first one wins". The libraries
> are created in two variants, using "package-list" and "element-list".
>
> As with any good regression test, the test fails on an unmodified JDK.
>
> -- Jon
>
> JBS: https://bugs.openjdk.java.net/browse/JDK-8222791
> Webrev: http://cr.openjdk.java.net/~jjg/8222791/webrev.00/
>
>
More information about the javadoc-dev
mailing list