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