blob: 1887590dba7dfe6f5c29be4ed575fe38b4c3bdd1 [file] [log] [blame]
Karl Pauls62ff7ab2009-03-31 21:06:46 +00001Changes from 1.4.1 to 1.6.0
2---------------------------
3
4** Bug
5 * [FELIX-737] - Resolver does not correctly discard export when module imports the same package (part 2)
6 * [FELIX-852] - Fragment support is currently limited to directly resolved hosts
7 * [FELIX-869] - SCR throws exception on invalidating a component with a reference to a service that was already unregistered
8 * [FELIX-891] - Bundle lock acquisition should not record lock until it verifies the bundle is lockable
9 * [FELIX-892] - ServiceReferenceImpl improper implementation of equals and hashcode
10 * [FELIX-893] - Felix fails to start using J9 JVM
11 * [FELIX-897] - Empty system package is exported when a semicolon is present in "extra" configuration
12 * [FELIX-902] - Empty bundle.state file produces NPE
13 * [FELIX-910] - Framework may ignore framework startlevel on startup
14 * [FELIX-911] - Potential deadlock between Bundle.stop() and BundleContext.registerService()
15 * [FELIX-915] - PackageAdmin returns null on getBundle(...) with system classes
16 * [FELIX-934] - Bootdelegation bug
17 * [FELIX-947] - Behaviour of startlevel comman doesn't adhere to spec
18 * [FELIX-948] - ServiceReferenceImpl.compareTo should handle other types than integer for service ranking
19 * [FELIX-951] - Deadlock in iPojo when stopping Felix
20 * [FELIX-952] - Exception thrown when unregistering services because the bundle is stopped
21 * [FELIX-953] - Bundle#loadClass sometimes return null instead of throwing a CNFE
22 * [FELIX-961] - 100% CPU looping inside uses calculation
23 * [FELIX-962] - Erroneous class loading delegation to the application launcher classloader in some cases
24 * [FELIX-969] - system bundle does not correctly handle (export) package attributes
25 * [FELIX-971] - Exception thrown in ServiceTracker at shutdown
26 * [FELIX-978] - Resolver does not clean up properly on a failed recursive attempt to resolve
27 * [FELIX-1004] - Extensionmanager openConnection(URL) method should be public
28 * [FELIX-1005] - Strange list of imported packages returned by the package admin
29
30** Improvement
31 * [FELIX-681] - Modify daemon threads to catch all exceptions and log them to avoid premature thread death
32 * [FELIX-851] - Refactor the module abstraction layer to align more closely to OSGi concepts
33 * [FELIX-872] - JarContent swallows exception when opening manifest, it should log it
34 * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception
35 * [FELIX-894] - Loosen locking when starting/stopping/uninstalling a bundle by firing event without holding a lock
36 * [FELIX-908] - Unsynchronize access to bundle state inside BundleInfo by making the variable volatile
37
Karl Pauls1be3b032008-12-20 16:27:49 +000038Changes from 1.4.0 to 1.4.1
39---------------------------
40
41* [2008-12-19] Refactor the URLHandlers implementation to fix a possible
42 Linkage-Error when running embedded inside tomcat. Furthermore, make it possible
43 to dynamically set a SecurityManager, change the url we add to the framework
44 classloader to fix issues with rmi and make sure we restore the previous URLStreamHandlerFactory
45 after stopping. (FELIX-842, FELIX-837, FELIX-844, FELIX-827)
46* [2008-12-19] Add missing javax.security.cert in JRE 1.4 and 1.5. (FELIX-854)
47* [2008-12-19] Improve framework internal locking protocol.
48* [2008-12-18] Fixed an issue where bundles with a non-existing native library
49 would not be removed correctly. (FELIX-835)
50* [2008-11-21] Throw an exception when there is an attempt to start or stop a
51 fragment, as per the spec. (FELIX-820)
52* [2008-11-20] Fixed a bug during shutdown where uninstalled fragments are not
53 properly closed. (FELIX-819)
54* [2008-11-14] Added partial support for new service registry hooks as proposed
55 for OSGi R4.2; currently, only listener hooks are supported. (FELIX-804)
56* [2008-11-08] Fixed Felix' delegation hack so that it correctly delegates to
57 the parent class loader for resources as appropriate; previously it was always
58 delegating for class loading, which was incorrect. (FELIX-808)
59
Karl Pauls89beb9b2008-11-06 16:17:00 +000060Changes from 1.2.2 to 1.4.0
61---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +000062
Karl Pauls89beb9b2008-11-06 16:17:00 +000063* [2008-11-05] URLStreamHandlerService and ContentHandlerService override
64 built-in handlers and make it possible to use URLHandlers when extending the
65 Felix class. (FELIX-756, FELIX-800)
66* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799)
67* [2008-10-31] Fix some visibility issues in the LDAP operators which could
68 result in incorrect toString values. (FELIX-765)
69* [2008-10-31] Fixed spec compliance issues around getting a service reference
70 from an invalid registration and throwing an exception when there are
71 duplicate property keys. (FELIX-798)
72* [2008-10-21] Fixed an issue with extension bundles which would be installed
73 as fragments and fail to install extension bundles if they have incomplete
74 metadata. (FELIX-770)
75* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748)
76* [2008-10-16] Modified framework to have default values for the system
77 packages property, which also required modifying main to no longer expect to
78 set it. Now it is possible to start Felix with no configuration properties.
79 (FELIX-753)
80* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android
81 sdk.
82* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35)
83* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved.
84 (FELIX-777)
85* [2008-10-15] Modified the resolver to longer consider uninstalled fragments
86 and hosts when resolving dependencies; this required a new "stale" flag on
87 modules that gets set when their associated bundle is uninstalled. (FELIX-776)
88* [2008-10-15] Modified the resolver to sort candidates when resolving
89 Require-Bundle dependencies. (FELIX-775)
90* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include
91 bundles requiring the exporting bundle, in addition to those bundles
92 importing the package. Also tried to simplify dependency management code
93 by separating it out. (FELIX-764)
94* [2008-10-14] Fix a NullPointerException in SecureAction when a
95 SecurityManager is used by keeping pointers on the local stack. (FELIX-766)
96* [2008-10-13] Use System.gc to allow to update and uninstall bundles with
97 native libs on Windows. (FELIX-733)
98* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier
99 garbage collection. (FELIX-762)
100* [2008-10-10] Implements support for flushing the cache on framework
101 initialization. (FELIX-755)
102* [2008-10-10] Improve exception messages. (FELIX-750)
103* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754)
104* [2008-10-08] Modified the Felix API to aligned with the proposed standard
105 OSGi framework API. The framework instance can now be stopped and restarted.
106 (FELIX-753)
107* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713)
108* [2008-09-25] Correctly discard exported packages when a bundle is chosen to
109 import a package it exports. (FELIX-736)
110* [2008-09-24] Clearly distinguish between "resolved" and "unresolved"
111 capabilities, which is necessary since "resolved" capabilities have higher
112 priority than "unresolved" ones. (FELIX-730)
113* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has
114 been used. (FELIX-712)
115* [2008-09-23] Improve decoding of reference URLs. (FELIX-731)
116* [2008-09-23] For completeness, added symbolic names to framework and main.
117* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin.
118 (FELIX-728)
119* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages
120 correctly. (FELIX-722)
121* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports
122 was happening when it shouldn't. (FELIX-724)
123* [2008-09-12] Added a configuration property to determine whether installing a
124 fragment that uses unimplemented features throws an exception or logs a
125 warning. (FELIX-725)
126* [2008-09-12] Removed some experimental code for "implicit requirements",
127 since it was no longer needed.
128* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721)
129
130Changes from 1.2.1 to 1.2.2
131---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +0000132
Karl Pauls89beb9b2008-11-06 16:17:00 +0000133* [2008-10-14] Fixed a NullPointer exception that could happen when
134 running with a SecurityManager as a backport of FELIX-766.
135
Karl Paulsfa99d5e2008-09-07 19:54:09 +0000136Changes from 1.2.0 to 1.2.1
137---------------------------
138
139* [2008-09-05] Fixed a performance regression that was caused by uncached
140 access to the bundle manifest headers. (FELIX-711)
141* [2008-09-03] Fixed a bug in calculating the system bundle's exported
142 packages which added a null export package.
143
Karl Pauls30d88e12008-08-31 22:15:39 +0000144Changes from 1.0.4 to 1.2.0
145---------------------------
146
147* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682)
148* [2008-08-29] Throw an exception when installing a fragment that uses
149 features that we do not support.
150* [2008-08-20] Improve error reporting when loading bundle classes using
151 Bundle.loadClass.
152* [2008-08-16] Fix attribute checking when resolving dynamic imports.
153 (FELIX-676)
154* [2008-08-08] Implement singleton bundle support. (FELIX-102)
155* [2008-08-06] Default to current security policy if no security extension is
156 installed in order to make Subject.doAs work. (FELIX-654)
157* [2008-08-04] Return Bundle.getLastModified() for bundle URLs
158 lastModified(). (FELIX-582)
159* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577)
160* [2008-08-01] Add necessary stub methods to implement new R4.1 methods.
161 (FELIX-595)
162* [2008-08-01] Applied patch to properly return symbolic name when it has
163 parameters. (FELIX-650)
164* [2008-07-25] Fix some rollback issues after a bundle update throws an
165 exception. (FELIX-647)
166* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641)
167* [2008-07-07] Add support for the standard symbolic name for the system
168 bundle. (FELIX-602)
169* [2008-06-01] Add initial fragment support for extending the host bundle
170 class path. (FELIX-29, FELIX-656)
171
Karl Paulsecf4cc82008-04-21 23:32:57 +0000172Changes from 1.0.3 to 1.0.4
173___________________________
174
175* [2008-04-18] Check that the returned object from a service factory is an
176 instance of all classes named when the service was registered. (FELIX-540)
177* [2008-04-13] Fix an issue when logging messages while holding framework
178 internal locks that could lead to a deadlock. For now we just disable
179 logging to log services inside the framework. (FELIX-536)
180* [2008-04-13] Implemented various small performance improvments e.g.,
181 we now cache filters and create an index for objectclass to improve
182 service lookup performance and don't use the BundleInfo to get the
183 bundle id but the BundleImpl directly. Furthermore, we added an index to
184 get bundles by id.
185* [2008-04-04] Fix an NoClassDefFoundError when trying to query the
186 framework classloader for whether a class is available or not.
187* [2008-03-19] Don't try to resolve extension bundles and fix a
188 classcastexception that could happen if more then one framework is around
189 and both have extensions installed. Furthermore, make extension bundles
190 use the system bundle context.
191* [2008-03-07] Bundle.getResource does now check for AdminPermission.
192 (FELIX-150)
193* [2008-03-06] Make urlhandlers work when a handler factory is already set.
194 Furthermore, it is now possible to have more then one framework running
195 in more then one classloader. (FELIX-38).
196* [2008-03-05] Make LDAP filter reentrant.
197* [2008-02-29] Refactored the IContent abstraction from the module loader
198 layer to provide more generic access to the content of the module. This
199 makes it possible that a bundle's class path could span multiple module's,
200 which will be necessary for fragments. (FELIX-29)
201* [2008-02-27] Applied a patch to disable the class loading diagnostic message
202 when the logger is not at the DEBUG level. (FELIX-500)
203* [2008-02-15] Modified the service registry to use more fine-grained locking
204 to avoid callbacks to service factories while holding locks. (FELIX-489)
205
Karl Pauls7db0d882008-01-28 09:37:24 +0000206Changes from 1.0.1 to 1.0.3
Karl Paulsc0335862008-01-27 19:49:56 +0000207---------------------------
208
209* [2008-01-27] Moved framework docs to main, since the launcher examples now
210 depend on main for the auto-property handling.
211* [2008-01-25] Applied patches to improve how Felix finds resources when
212 getResources() is called. (FELIX-466, FELIX-467)
213* [2008-01-25] Make FilterImpl.toString() add escape characters where needed.
214 (FELIX-471)
215* [2008-01-16] Fix a NPE on framework restart when extension bundles are
216 installed.
217* [2008-01-15] Try to fix a potential visibility issue on loading a class
218 form a bundle where it seems to be possible that we create two classloaders
219 instead of one.
220* [2008-01-15] Modified boot delegation to not terminate when delegating to
221 parent class loader for non-java.* packages. (FELIX-463)
222* [2008-01-04] Fix some issues related to directories on the bundle class
223 path. Specifically, leading slashes created an issue and are now stripped
224 and entries were not being properly filtered when enumerating the contents
225 of a class path directory. (FELIX-426)
226* [2007-12-20] Modified logger to have all of its public methods be final to
227 avoid it from being extended in undesired ways via the constructor supplied
228 logger. (FELIX-428)
229* [2007-12-20] The TCK has changed to verify that bundles do not depend on
230 themselves, so we filter that case now.
231* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework
232 error event only when a bundle cannot be resolved. (FELIX-441)
233* [2007-12-19] Modified framework to accept a Logger instance so that host
234 applications can do custom logging until the log service arrives. (FELIX-428)
235* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440).
236* [2007-12-18] Improve native code loading - bundle installation will now
237 fail in case a native library is not in the jar and we only use the first
238 library of a given name. Furthermore, we now support .dylib extensions on
239 the mac as well as others; should make it possible to use .netmodules as
240 well. (FELIX-439)
241* [2007-12-17] Make the win32 alias match any version of windows for native
242 clauses. (FELIX-438)
243* [2007-12-14] Removed auto-property processing out of the framework and
244 into the default launcher, i.e, main. (FELIX-393)
245* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler()
246 when creating URL on jamvm and Mika. This patch resolves an unfortunate
247 interaction between our ExtensionManager and the URLHandlers by making the
248 URLHandlers aware of the extension protocol. Pretty much like we do already
249 for the bundle protocol. (FELIX-435)
250* [2007-11-26] Fix a small oversight in the extension manager that could lead
251 to a null pointer exception and save some memory by creating less objects.
252* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties
253 for some reason and avoid a null pointer in this case.
254* [2007-11-08] Reorganized usage count methods to better handle null
255 reference checking in response to Karl Pauls seeing an NPE when trying to
256 get a service that was already unregistered while shutting down the
257 framework.
258* [2007-11-06] Added a simple check to detect and work around a bug in J9.
259 (FELIX-416)
260* [2007-10-30] Change how the extension manager url stream handler handles
261 request to the root path in order to make some tomcat issue go away.
262 (FELIX-414)
263* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383)
264* [2007-10-24] Use system bundle when firing a framework error event when an
265 install error occurs.
266* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle.
267 (FELIX-394)
268* [2007-10-16] Modifies bundle resource URL handling such that if a resource
269 URL points to a resource that does not exist, a bundle class path search
270 for the resource will be instigated and if any matching resource is found,
271 that one will be used instead. (FELIX-383)
272* [2007-10-10] Auto-property handling now installs bundles into the default
273 bundle start level if a start level is not specified. (FELIX-359)
274* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the
275 ExtensionManager to immediately return null to prevent DNS lookup.
276 (FELIX-388)
277* [2007-09-30] Resolved a concurrency issue that could result in the same
278 bundle being resolved more than once; also tried to simplify locking in
279 the core search policy implementation. (FELIX-381)
280
Karl Pauls305c9642007-09-16 20:46:04 +0000281Changes from 1.0.0 to 1.0.1
282---------------------------
283
284* [2007-07-23] Fixed a bug in the framework shutdown process which was
285 causing threads calling Felix.stopAndWait() to not get notified that
286 the framework had shutdown. (FELIX-329)
287* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe
288 on execution. (FELIX-338)
289* [2007-08-17] Added support for persistent last used bundle ID to avoid
290 re-use of bundle identifiers. (FELIX-339)
291* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null
292 locale. (FELIX-346)
293* [2007-09-11] Added support to handle external termination of Felix
294 which was not handled or detected and prevented a restart of future
295 Felix instances in the same VM. (FELIX-363)
296* [2007-09-12] Add support for Collection values in the LDAP filter to
297 match the 4.1 spec.
298* [2007-09-12] Fixed a bug in the LDAP filter where attributes where
299 limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361)
300* [2007-09-13] Enable support for exporting the same package more than
301 once (FELIX-101).
302* [2007-09-13] Returns the system bundle from a call to
303 PackageAdmin.getBundle(Class) in case the class comes from the
304 classloader (or one of its parents) that loaded Felix and the system
305 bundle exports the package.
306* [2007-09-16] Fixed a bug in class space filtering in the service registry
307 that could result in class cast exceptions for service clients.
308* [2007-09-16] Fixed a bug that prevented extension bundle exports to be
309 usable.
310
Richard S. Hall2cd5bed2007-07-16 20:32:41 +0000311Changes from 0.8.0-incubator to 1.0.0
312-------------------------------------
313
314* [2007-01-18] Added support for bundle header localization. (FELIX-27)
315* [2007-01-22] Modified framework resolver to support a generic
316 capability/requirement model.
317* [2007-01-22] Reorganized and centralized manifest parsing code and added
318 support for resolver's generic capability/requirement model. (FELIX-98)
319* [2007-01-22] Improved native library naming normalization. (FELIX-26)
320* [2007-01-23] No longer eagerly resolving classes loaded from modules
321 since this was causing verification errors with IBM J9.
322* [2007-01-25] Added some support for execution environment checking.
323 (FELIX-23)
324* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32)
325* [2007-01-31] Added Require-Bundle support to resolve using the generic
326 capability/requirement model of the resolver. (FELIX-28)
327* [2007-02-05] Fixed a bug in processor type normalization for x86-64
328 processors.
329* [2007-02-09] The resolver previously ignored packages that were pending
330 removal when resolving new bundles, now it does not.
331* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled
332 if none of their exported packages are in use.
333* [2007-02-13] Added support for extension bundles. (FELIX-30)
334* [2007-03-02] Added a Bundle.getBundleContext() method until actual
335 support for OSGi R4.1.
336* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory
337 entries as well as file entries.
338* [2007-05-06] Modified LDAP evaluator to special case the fact that
339 BigDecimal is not available in Foundation profile.
340* [2007-05-21] Made some performance improvements in LDAP evaluation.
341* [2007-05-22] Modified JAR file to include Service Tracker package.
342* [2007-05-22] Improved concurrency handling around checking for already
343 loaded classes and defining classes.
344* [2007-06-05] Modified resource URLs to use port number rather than
345 prepend information to the resource path.
346* [2007-06-13] Improved dynamic imports to cycle through all available
347 candidates when checking for class space consistency.
348* [2007-06-18] Improved service registry filtering based on class versions
349 to allow a bundle to register a service for a different version of class
350 that it can access.
351* [2007-06-21] Modified our "last ditch effort" to guess when to delegate
352 to the system bundle to make it a little more robust.
353* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous
354 events to not be fired after stopping the framework instance and creating
355 a new instance. (FELIX-314)
356* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly
357 update a listener when it implemented multiple listener interfaces.
358* [2007-07-04] Modified Felix framework class to implement the Bundle
359 interface to improve the startup/shutdown sequence and to provide a
360 simplified API for creating framework instances.
361* [2007-07-11] Removed the PropertyResolver-related classes and now only
362 use Maps for configuration properties. (FELIX-324)