<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p>Filed as <a class="moz-txt-link-freetext" href="https://bugs.openjdk.org/browse/JDK-8297437">https://bugs.openjdk.org/browse/JDK-8297437</a></p>
    <p>-- Jon<br>
    </p>
    <div class="moz-cite-prefix">On 11/22/22 7:21 AM, Roman Marchenko
      wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:DM8PR11MB57364289D6BED422AE1504D8BF0D9@DM8PR11MB5736.namprd11.prod.outlook.com">
      <p style="margin-left:.5in"><span lang="EN-US"><o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">Let’s say, there is a
          library is being developed for further use with another Java8
          project. The library development is performed using Java17
          because of some legacy reasons. And these are the reasons of
          the developers have no option to choose another version of
          Java. The library is compiled with ‘-source 8’ or ‘--release
          8’ options passed to both javac and javadoc (linking with
          Oracle’s Java8 docs with ‘-link’ option). As the result, the
          generated docs are not compatible with Oracle’s Java8 docs
          because of different forms of anchors and element IDs. <o:p>
          </o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">Even if there is a
          solution to additionally process external links to
          docs.oracle.com fixing anchors, the generated docs are still
          not compatible with any other documentation generated with
          Java8, local or external.<o:p></o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
      <p class="MsoNormal"><span lang="EN-US">Of course, there are
          possible workarounds for the scenario above, however this
          example scenario shows that javac has backward compatibility
          to lower versions, but javadoc has not.
        </span></p>
    </blockquote>
  </body>
</html>