Sergey Rymsha created FELIX-6562:
------------------------------------

             Summary: Fail to start on Locale with non-Arabic numerals
                 Key: FELIX-6562
                 URL: https://issues.apache.org/jira/browse/FELIX-6562
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-7.0.5
         Environment: Windows
            Reporter: Sergey Rymsha


{code:java}
org.apache.felix.framework.util.Util.initializeJPMSEE{code}
 

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

Which uses system Locale to format numbers. 

 

If default locale has non-Arabic numerals the resulting string becomes invalid 
and
{code:java}
IllegalArgumentException: invalid version "0.0.0.JavaSE_???": invalid qualifier 
"0.0.0.JavaSE_???"{code}
is thrown



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to