[
https://issues.apache.org/jira/browse/FELIX-5014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang,BongYeol updated FELIX-5014:
---------------------------------
Description:
http://svn.apache.org/repos/asf/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/NativeLibraryClause.java
Felix Framework does not recognize windows 10. Attached patch can fix the
problem.
was:
http://svn.apache.org/repos/asf/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/NativeLibraryClause.java
Felix Framework does not recognize windows 10. Following patch can fix the
problem.
diff --git NativeLibraryClause.java NativeLibraryClause2.java
index 92b30dd..42479d6 100644
--- NativeLibraryClause.java
+++ NativeLibraryClause2.java
@@ -63,6 +63,7 @@ public class NativeLibraryClause
private static final String OS_WINDOWS_7 = "windows7";
private static final String OS_WINDOWS_8 = "windows8";
private static final String OS_WINDOWS_9 = "windows9";
+ private static final String OS_WINDOWS_10 = "windows10";
private static final String OS_WINDOWS_95 = "windows95";
private static final String OS_WINDOWS_98 = "windows98";
private static final String OS_WINDOWS_CE = "windowsce";
@@ -613,6 +614,10 @@ public class NativeLibraryClause
{
os = OS_WINDOWS_9;
}
+ else if ((value.indexOf("10") >= 0) ||
value.equals("win10"))
+ {
+ os = OS_WINDOWS_10;
+ }
return os;
}
else if (value.startsWith(OS_LINUX))
> Support Windows 10 for Bundle-NativeCode
> ----------------------------------------
>
> Key: FELIX-5014
> URL: https://issues.apache.org/jira/browse/FELIX-5014
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: framework-5.0.2
> Environment: Windows 10 x64
> Reporter: Yang,BongYeol
> Attachments: diff.txt
>
>
> http://svn.apache.org/repos/asf/felix/trunk/framework/src/main/java/org/apache/felix/framework/util/manifestparser/NativeLibraryClause.java
> Felix Framework does not recognize windows 10. Attached patch can fix the
> problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)