Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-6562

Fail to start on Locale with non-Arabic numerals

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • framework-7.0.5
    • None
    • Framework
    • None
    • Windows

    Description

      org.apache.felix.framework.util.Util.initializeJPMSEE

       

      has code

      properties.put("felix.detect.java.version", String.format("0.0.0.JavaSE_%03d", version.getMajor()));

       

      Which uses system Locale to format numbers. 

       

      If default locale has non-Arabic numerals the resulting string becomes invalid and

      IllegalArgumentException: invalid version "0.0.0.JavaSE_???": invalid qualifier "0.0.0.JavaSE_???"

      is thrown on Felix.init

      Attachments

        Activity

          People

            Unassigned Unassigned
            rymsha Sergey Rymsha
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: