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

javadoc an enum on japanese windows causes warning

XMLWordPrintable

      FULL PRODUCT VERSION :
      java version " 1.7.0_25 "
      Java(TM) SE Runtime Environment (build 1.7.0_25-b17)
      Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Windows 7 Professional (x64) Japanese

      A DESCRIPTION OF THE PROBLEM :
      Generating javadoc for an enum will cause a warning in japanese environment.
      -------------------------------------------------------------------------------------------------------------
      t.java:1: ?? - @return????????????????????????????
      t.java:1: ?? - @return????????????????????????
      t.java:1: ?? - @param argument " name???????????? " ???????????????
      -------------------------------------------------------------------------------------------------------------

      The value of `doclet.enum_valueof_doc' in the doclets_ja.properties seems wrong.

      REGRESSION. Last worked in version 6u45

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      C:\tmp>type t.java
      public enum t {
              test
      };

      C:\tmp>javadoc t.java >nul
      t.java:1: ?? - @return????????????????????????????
      t.java:1: ?? - @return????????????????????????
      t.java:1: ?? - @param argument " name???????????? " ???????????????


      REPRODUCIBILITY :
      This bug can be reproduced always.

            mfang Michael Fang (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: