| Summary: | Bundle-NativeCode: osname=win32 isn't matched by Windows Server 2008 R2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | J.-P. Pellet <jpp-mac> | ||||
| Component: | Framework | Assignee: | Thomas Watson <tjwatson> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | 3.7 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 7 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
Created attachment 187436 [details] patch According to the latest at http://www.osgi.org/Specifications/Reference the name should be WindowsServer2008 for the old version. Equinox currently uses Windows2008. This patch keeps Windows2008 so we don't break anyone but adds the following lines: WindowsServer2008 "Windows 2008" "Windows Server 2008" Win2008 Win32 # Microsoft WindowsServer2008R2 "Windows 2008 R2" "Windows Server 2008 R2" Win2008R2 Win32 # Microsoft I am adding a new line for R2 because it appears to be a new OS with new features and API and cannot simply be aliased to WindowsServer2008. Patch released. |
Build Identifier: 3.6.1 (M20100909-0800) If I want to start a bundle that has native code according to its Bundle-NativeCode entry, then entry parts with the osname=win32 filter are not selected on a platform where System.getProperty("os.name") returns "Windows Server 2008 R2". This is a follow-up to https://bugs.eclipse.org/bugs/show_bug.cgi?id=281075 Reproducible: Always Steps to Reproduce: 1. Add 'Bundle-NativeCode' header in MANIFEST.MF, and using 'win32' to match all Windows platform 2. Bundle is not resolved and cannot be activated because the matching native code is not found.