Uploaded image for project: 'CAL10N'
  1. CAL10N
  2. CAL-8

MessageConveyer.lookup() uses wrong classloader

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • None
    • None
    • cal10n 0.7

    Description

      MessageConveyer uses this.getClass().getClassLoader() as the classloader to use to search for resource bundles. If you wish to install cal10n as a installed library in an application server (or in any case where the cal10n jar is placed on a parent classlaoder), the classloader of the classes using cal10n may not be searched for resource bundles.

      I would suggest using declaredClass.getClassLoader().

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            pmuir Pete Muir
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: