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

(rb) java.util.ResourceBundle.getBundle( ) javadoc is incorrect

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs

      Description

      ADDITIONAL OS VERSION INFORMATION :
      All OS's as it's a doc problem

      A DESCRIPTION OF THE PROBLEM :
      http://java.sun.com/j2se/1.5.0/docs/api/java/util/ResourceBundle.html#getBundle(java.lang.String,%20java.util.Locale,%20java.lang.ClassLoader)

      docs says

      It attempts to find a "resource" with this name using ClassLoader.getResource. (Note that a "resource" in the sense of getResource has nothing to do with the contents of a resource bundle, it is just a container of data, such as a file.)

      Whereas it actually appears to call ClassLoader.getResourceAsStream


      REPRODUCIBILITY :
      This bug can be reproduced always.
      ###@###.### 2005-1-11 04:19:32 GMT

        Attachments

          Activity

            People

            • Assignee:
              naoto Naoto Sato
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: