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

javadoc an enum on simplified chinese windows causes warning

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b96
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      Mustang b88

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP Professional

      A DESCRIPTION OF THE PROBLEM :
      Generating javadoc for an enum will cause a warning.
      the predefined javadoc for valueOf and values methods in \j2se\src\share\classes\com\sun\tools\doclets\internal\toolkit\resources\doclets_zh_CN.properties
      is:
      doclet.enum_valueof_doc=\n\u8fd4\u56de\u5e26\u6709\u6307\u5b9a\u540d\u79f0\u7684\u8be5\u7c7b\u578b\u7684\u679a\u4e3e\u5e38\u91cf\u3002\n\u5b57\u7b26\u4e32\u5fc5\u987b\u4e0e\u7528\u4e8e\u58f0\u660e\u8be5\u7c7b\u578b\u7684\u679a\u4e3e\u5e38\u91cf\u7684\n\u6807\u8bc6\u7b26<I>\u5b8c\u5168</I>\u5339\u914d\u3002\uff08\u4e0d\u5141\u8bb8\u6709\u591a\u4f59\n\u7684\u7a7a\u683c\u3002\uff09\n \n@param \u6307\u5b9a\u8981\u8fd4\u56de\u7684\u679a\u4e3e\u5e38\u91cf\u7684\u540d\u79f0\u3002\n
      Have a look at the @param, there should be a "name" after the tag while there is not.


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      try to generate javadoc for javax.lang.model.SourceVersion on simplified chinese windows.


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            lzhaosunw Lucy Zhao (Inactive)
            Reporter:
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: