felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Pauls (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-5574) When detecting an unknow Windows OS name, provides a suitable default value for org.osgi.framework.os.name
Date Thu, 27 Apr 2017 13:05:04 GMT

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

Karl Pauls resolved FELIX-5574.
-------------------------------
    Resolution: Fixed

I added support for this in r1792878. Furthermore, I fixed FELIX-5553 - good catch. Thanks.


Please close this issue if it works for you.

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

Mime
View raw message