Xavier Fournet created FELIX-5574: ------------------------------------- Summary: 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 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)