Bug 106057 - [osgi] org.osgi API needs updated to latest OSGi R4
Summary: [osgi] org.osgi API needs updated to latest OSGi R4
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1.1   Edit
Assignee: Thomas Watson CLA Friend
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 10:44 EDT by Thomas Watson CLA Friend
Modified: 2005-08-08 18:08 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (304.53 KB, patch)
2005-08-08 16:36 EDT, Thomas Watson CLA Friend
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Watson CLA Friend 2005-08-04 10:44:11 EDT
As the OSGi R4 spec closes there have been many updates to the OSGi R4 API 
javadoc.  We need to update the java code in the org.osgi.* packages to the 
latest supplied by OSGi and ensure that we are implementing the API according 
to the latest javadoc.
Comment 1 Thomas Watson CLA Friend 2005-08-04 10:48:28 EDT
This should be fixed in 3.1.1 for OSGi R4 compliance.
Comment 2 Thomas Watson CLA Friend 2005-08-04 11:08:59 EDT
Fixed in HEAD (3.2).

There have been two additions to the OSGi API.

- A new method ExportedPackage#getVersion was added
- New BundleEvents STARTING an STOPPING were added

These two additions required implementation code changes to the following:
org/eclipse/osgi/framework/internal/core/BundleHost.java
org/eclipse/osgi/framework/internal/core/ExportedPackageImpl.java
org/eclipse/osgi/framework/internal/core/Framework.java

Leaving this defect open to backport fixes to 3.1.1.
Comment 3 Thomas Watson CLA Friend 2005-08-08 16:36:22 EDT
Created attachment 25872 [details]
Proposed fix

Proposed fix for 3.1 maintenance branch.
Comment 4 Thomas Watson CLA Friend 2005-08-08 16:37:11 EDT
Pascal, please review for 3.1.1 release.  Thanks.
Comment 5 Pascal Rapicault CLA Friend 2005-08-08 17:51:32 EDT
Patch reviewed a lot of change are due to java doc and it is code coming from
the osgi repo. The actual changes in our code base are fine.
Good to go.
Comment 6 Thomas Watson CLA Friend 2005-08-08 18:08:55 EDT
Fixed in 3.1 maintenance branch.