Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8189843

Missing "id" attributes in table rows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 10
    • None
    • tools
    • b16
    • b29
    • Verified

      The current JDK 10 docs builds are broken, in that some table rows are missing "id" attributes. This shows up in the <tr> tag itself, and in the corresponding JavaScript for the table tabs.

      The bug is not present in JDK 9.

      The bug appears to be related to methods that are may be confused for JavaFX properties. i.e. the affected methods seem to be getProperty/setProperty methods, but they are not methods in the JavaFX API.

      Here is a pointer to a fragment of broken code:
      https://java.se.oracle.com/artifactory/webapp/#/artifacts/browse/tree/General/re-release-local/jdk/10/28/bundles/common/jdk-10_doc-all.zip!/docs/api/java/awt/image/renderable/ContextualRenderedImageFactory.html


      <tr id="i1" class="rowColor">
      <td class="colFirst"><code><a href="../../../../java/awt/geom/Rectangle2D.html" title="class in java.awt.geom">Rectangle2D</a></code></td>
      <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../java/awt/image/renderable/ContextualRenderedImageFactory.html#getBounds2D(java.awt.image.renderable.ParameterBlock)">getBounds2D</a></span>&#8203;(<a href="../../../../java/awt/image/renderable/ParameterBlock.html" title="class in java.awt.image.renderable">ParameterBlock</a>&nbsp;paramBlock)</code></th>
      <td class="colLast">
      <div class="block">Returns the bounding box for the output of the operation,
       performed on a given set of sources, in rendering-independent
       space.</div>
      </td>
      </tr>
      <tr class="altColor"> <<<<<<======= LOOK, NO "id" ATTRIBUTE DECLARED
      <td class="colFirst"><code><a href="../../../../java/lang/Object.html" title="class in java.lang">Object</a></code></td>
      <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../java/awt/image/renderable/ContextualRenderedImageFactory.html#getProperty(java.awt.image.renderable.ParameterBlock,java.lang.String)">getProperty</a></span>&#8203;(<a href="../../../../java/awt/image/renderable/ParameterBlock.html" title="class in java.awt.image.renderable">ParameterBlock</a>&nbsp;paramBlock,
                 <a href="../../../../java/lang/String.html" title="class in java.lang">String</a>&nbsp;name)</code></th>
      <td class="colLast">
      <div class="block">Gets the appropriate instance of the property specified by the name
       parameter.</div>
      </td>
      </tr>
      <tr id="i3" class="rowColor">
      <td class="colFirst"><code><a href="../../../../java/lang/String.html" title="class in java.lang">String</a>[]</code></td>
      <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="../../../../java/awt/image/renderable/ContextualRenderedImageFactory.html#getPropertyNames()">getPropertyNames</a></span>()</code></th>
      <td class="colLast">
      <div class="block">Returns a list of names recognized by getProperty.</div>
      </td>
      </tr>

            jjg Jonathan Gibbons
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: