[ 
https://issues.apache.org/jira/browse/FELIX-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15986573#comment-15986573
 ] 

ASF GitHub Bot commented on FELIX-5574:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/felix/pull/95


> When detecting an unknow Windows OS name, provides a suitable default value 
> for org.osgi.framework.os.name
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-5574
>                 URL: https://issues.apache.org/jira/browse/FELIX-5574
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>            Reporter: Xavier Fournet
>            Assignee: Karl Pauls
>            Priority: Minor
>             Fix For: framework-5.6.4
>
>
> When the system property os.name return a Windows OS name that is not 
> recognized by 
> org.apache.felix.framework.util.manifestparser.NativeLibraryClause#normalizeOSName
>  then it return "win" as a fallback value.
> However this "win" value is not something valid for the 
> org.osgi.framework.os.name property name (cf 
> https://www.osgi.org/developer/specifications/reference/)
> Changing the fallback value to "win32" would be better so it would allow most 
> of the JNI library to be loaded.
> This would allow smooth support of future windows platform, for example for 
> Windows Server 2016 with JDK9 (or JDK8 when 
> https://bugs.openjdk.java.net/browse/JDK-8159948 will be fix on it)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to