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

FXMLLoader.ESCAPE_PREFIX @link javadoc tag is malformed

    • generic
    • generic

      FULL PRODUCT VERSION :
      java version "1.8.0_144"
      Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
      Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 6.3.9600]

      A DESCRIPTION OF THE PROBLEM :
      In this javadoc comment to FXMLLoader.ESCAPE_PREFIX:
          /**
           * Escape prefix for escaping special characters inside attribute values.
           * Serves as an escape for {@link #ESCAPE_PREFIX}, {@link #RELATIVE_PATH_PREFIX},
           * {@link #RESOURCE_KEY_PREFIX, {@link #EXPRESSION_PREFIX}, {@link #BI_DIRECTIONAL_BINDING_PREFIX}
           * @since JavaFX 2.1
           */
          public static final String ESCAPE_PREFIX = "\\";

      the curly brace is not closed in javadoc tag {@link #RESOURCE_KEY_PREFIX

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      view FXMLLoader.java from javafx-src.zip

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      javadoc tag should be well-formed
      ACTUAL -
      javadoc tag is ill-formed

      REPRODUCIBILITY :
      This bug can be reproduced always.

            scfitch Stephen Fitch
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: