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

ResourceBundle naming convention issue in JdbcRowSetResourceBundle.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 20
    • None
    • core-libs
    • None
    • b21
    • generic
    • generic

      In JdbcRowSetResourceBundle[1]:
          private static final String PATH = “com/sun/rowset/RowSetResourceBundle”;
      does not follow proper bundle name conventions, and in some cases the bundles can not be loaded. This constant needs to be a fully qualified class, per ResourceBundle.getBundle()[2].

      1. https://github.com/openjdk/jdk/blob/master/src/java.sql.rowset/share/classes/com/sun/rowset/JdbcRowSetResourceBundle.java#L83
      2. https://docs.oracle.com/en/java/javase/18/docs/api/java.base/java/util/ResourceBundle.html#getBundle(java.lang.String,java.util.Locale,java.lang.Module)

            jlu Justin Lu
            jlu Justin Lu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: