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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 5.0
    • core-libs

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: