Refactoring: Rewrite links in Metalava instead of carrying patches.
Some .java files in libcore/ojluni contain links that go outside of
{@docRoot}. Before this CL topic, libcore was carrying 208 patches to
these links. Another CL in this topic adds logic to rewrite the links
at doc generation time instead; this allows us to drop the libcore
patches in this CL. After this CL, 49 of the 91 files touched will no
longer carry any patches, i.e. they will then be exactly identical to
upstream OpenJDK 8u121-b13. This reduces the number of ojluni files
that carry patches by 9% (554 -> 505).
8 unrelated patches in BlockingQueue.java for links to
../Collection.html#optional-restrictions are kept.
Bug: 129765390
Test: Checked that this CL topic does not affect the docs generated by
make ds-docs offline-sdk-docs
(in other words, the docs generated before vs. after this CL
topic are equivalent).
Change-Id: I14f95709ade860b03a42d6ff1b228f07267490c7
91 files changed