You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Karl Pauls (JIRA)" <ji...@apache.org> on 2017/04/27 13:04:04 UTC

[jira] [Assigned] (FELIX-5574) When detecting an unknow Windows OS name, provides a suitable default value for org.osgi.framework.os.name

     [ https://issues.apache.org/jira/browse/FELIX-5574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Pauls reassigned FELIX-5574:
---------------------------------

    Assignee: Karl Pauls

> 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)