blob: f7639ed0ba2bcc78dff28283de3c59c47dfca22b [file] [log] [blame]
Karl Paulsd782df82015-08-25 09:03:01 +00001Changes from 5.0.1 to 5.2.0
2---------------------------
3** Bug
4 * [FELIX-4456] - openConnection().getContentLengthLong() always returns -1 for bundle URLs on Java7
5 * [FELIX-4468] - EventObject is created with null pointer : "null source"
6 * [FELIX-4960] - NPE in BundleRevisionImpl.getResourcesLocal()
7 * [FELIX-4977] - Concurrency issue with factory services
Karl Paulse07fa022015-08-26 14:07:25 +00008 * [FELIX-5010] - NPE when resolving bundle with a header "Bundle-NativeCode = *"
Karl Paulsd782df82015-08-25 09:03:01 +00009
10** Improvement
11 * [FELIX-4938] - Throw an exception when service use count overflow
12
13** New Feature
14 * [FELIX-4942] - Optimise the resolver
15
Karl Pauls7623f712015-06-14 22:11:40 +000016Changes from 5.0.0 to 5.0.1
17---------------------------
18** Bug
19 * [FELIX-4867] - Stale bundle revisions don't get cleaned up when last using bundle is gone
20 * [FELIX-4905] - Framework does not export org.osgi.service.resolver
21 * [FELIX-4914] - Resolution problem with identity requirements on fragments
22 * [FELIX-4927] - Felix reports itself as an OSGi R4/R5 Framework
Karl Pauls649c0fe2015-06-17 14:50:16 +000023 * [FELIX-4928] - Singleton getService() sometimes incorrectly returns null
Karl Pauls7623f712015-06-14 22:11:40 +000024
25** Improvement
26 * [FELIX-4866] - Improve service registry
27
Karl Pauls042bd1a2015-04-20 11:34:38 +000028Changes from 4.6.1 to 5.0.0
29---------------------------
30** Bug
31 * [FELIX-4838] - Deadlock in Service Registry
32 * [FELIX-4850] - org.osgi.framework.version should be 1.8
33 * [FELIX-4854] - Unable to create consistent wiring when same package is exported in same version by multiple bundles
34
35** Improvement
36 * [FELIX-4821] - Use a faster implementation for StringMap
37 * [FELIX-4845] - Clean up Logger implementation
38 * [FELIX-4525] - Refactor the Framework to use the Resolver module
39
Karl Pauls5c388362015-03-03 09:29:27 +000040Changes from 4.6.0 to 4.6.1
41---------------------------
42** Bug
43 * [FELIX-4806] - Ungetting service through ServiceObjects might throw IllegalArgumentException
44
45** Improvement
46 * [FELIX-4810] - Cache WeakZipFile#entries
47
Karl Pauls51a75c52015-01-11 23:39:22 +000048Changes from 4.4.1 to 4.6.0
49---------------------------
50** Sub-task
51 * [FELIX-4503] - [Core R6] Support osgi.native capability
52 * [FELIX-4504] - [Core R6] Support Framework DTOs
53 * [FELIX-4505] - [Core R6] Support Prototype Service Factory
54 * [FELIX-4578] - [Core R6] Support new Framework.init(FrameworkListener ... listeners) override
55 * [FELIX-4579] - [Core R6] Support Framework Extension Bundle Activators
56 * [FELIX-4580] - [Core R6] Support service.bundleid Service Registration property
57 * [FELIX-4581] - [Core R6] Support FrameworkWiring.findProviders(Requirement)
58 * [FELIX-4582] - [Core R6] Support WovenClassListener
59 * [FELIX-4583] - [Core R6] Ensure that all OSGi Core R6 CT tests pass
60 * [FELIX-4590] - [Core R6] Update to R6 API
61 * [FELIX-4593] - Support the JavaSE/compact profiles for Java 8
62 * [FELIX-4726] - [Core R6] Update bundle and service hooks for the system bundle
63
64** Bug
65 * [FELIX-3883] - [Framework] Move OS and processor aliases to configuration properties
66 * [FELIX-4690] - Some bundles containing native code can fail to start on Windows 7+
67 * [FELIX-4701] - Properties with surprising spelling in AutoProcessor
68 * [FELIX-4729] - [Core R6] Support for osgi.native namespace with Loading native code libraries
69
70** Improvement
71 * [FELIX-4502] - [Core R6] Provide an OSGi R6 compliant framework implementation
72 * [FELIX-4658] - URL of the CodeSource of a ProtectionDomain should resolve to the right JAR
73 * [FELIX-4692] - Improve Service access time
74 * [FELIX-4757] - Native Capabilities should allow OS and Processor alias to load from default and config properties
75
Karl Paulsf317c572014-07-09 15:42:39 +000076Changes form 4.4.0 to 4.4.1
77---------------------------
78** Bug
79 * [FELIX-3239] - PackageAdmin#getExportedPackages does not work on packages exported by attached fragments
80 * [FELIX-3309] - Dashes in qualifier get replaced by periods causing framework not to start up
81 * [FELIX-3701] - Intermittent CNFE with embedded jars in Fragment Bundles
82 * [FELIX-4220] - BundleException type is always set to 0
83 * [FELIX-4281] - Security Warning: Felix with Java Web Start
84 * [FELIX-4515] - BundleRevision for system extension has no capabilities
85 * [FELIX-4523] - Deadlock in URLHandlers when Felix.init and Felix.stop are called concurrently
86 * [FELIX-4534] - Bundles containing native code fails to start on Windows 7
87
Karl Paulsfa2afaa2014-03-20 21:08:41 +000088Changes from 4.2.1 to 4.4.0
89---------------------------
90** Bug
91 * [FELIX-1131] - ServiceReference.isAssignableTo fails when using a factory that can not see the exported class and the bundle exporting the service does not have a direct wire to this class
92 * [FELIX-3992] - Classloader access outside of a privileged block
93 * [FELIX-4190] - The framework should not hold any lock while calling ServiceFactory#unget
94 * [FELIX-4283] - actually throw exception if method not found
95 * [FELIX-4331] - [Core R5] Support BundleContext and Framework adaptations
96 * [FELIX-4353] - [Core R5] BundleWiringTests OSGi CT test failures
97 * [FELIX-4354] - [Core R5] ResolverHookTests OSGi CT test failures
98 * [FELIX-4355] - [Core R5] org.osgi.test.cases.framework.launch OSGi CT test failure
99 * [FELIX-4365] - Input stream not properly closed on org.apache.felix.framework.Felix.getFrameworkVersion
100 * [FELIX-4388] - Initial start level not considered when bundle.start() is called
101 * [FELIX-4462] - Classloader deadlock in Java6 between two bundles
102
103** Improvement
104 * [FELIX-4128] - [Core R5] Provide an OSGi R5 compliant framework implementation
105 * [FELIX-4284] - remove dead allocation
106
107** Task
108 * [FELIX-4080] - [Core R5] Add support for org.osgi.framework.UnfilteredServiceListener
109 * [FELIX-4082] - [Core R5] Update org.osgi.framework.bsnversion framework property
110 * [FELIX-4083] - [Core R5] Support for valueOf when evaluating a Filter
111 * [FELIX-4084] - [Core R5] Enhance Bundle.adapt() to provider AccessControlContext.
112 * [FELIX-4085] - [Core R5] Implement updates to the Bundle Hook Specification
113 * [FELIX-4324] - [Core R5] Implement osgi.identity namespace for fragments
114
115** Wish
116 * [FELIX-3868] - Adding osgi.identity namespace to bundles (resources)
117
Karl Pauls9c489632013-03-08 20:55:20 +0000118Changes from 4.2.0 to 4.2.1
119---------------------------
120** Bug
121 * [FELIX-3411] - The implementation of org.osgi.service.startlevel.StartLevel#setStartLevel(int) does not follow the spec
122 * [FELIX-3893] - Bundle in cache doesn't pass security check anymore.
123 * [FELIX-3907] - NullPointerException in BundleWiringImpl when m_disposed is true.
124 * [FELIX-3939] - IllegalArgumentException from ClassLoader.definePackage
125 * [FELIX-3950] - Permission check being done even when security manager is absent
126 * [FELIX-3957] - Error events can be thrown when refreshing fragment bundles
127
128** Improvement
129 * [FELIX-3961] - Add a fallback to the default java security policy if no security provider is present
130
Karl Pauls908dae32013-02-05 22:23:17 +0000131Changes from 4.0.3 to 4.2.0
132---------------------------
133** Bug
134 * [FELIX-2780] - Extension bundle implementation relies on urlhandlers service to start extension bundles
135 * [FELIX-3160] - NPE in BundleRevisionImpl.close() when uninstalling a bundle
136 * [FELIX-3242] - Concurrent modification problem in StatefulResolver$ResolverStateImpl.getCandidates
137 * [FELIX-3273] - Possible exception when accessing headers
138 * [FELIX-3306] - Lazy activation of bundles is not always working as expected
139 * [FELIX-3343] - Installing an fragment bundle without Bundle-ManifestVersion: 2 causes NPE in resolver
140 * [FELIX-3348] - StartLevel thread may terminate on uncaught exception
141 * [FELIX-3353] - The implementation of org.osgi.service.packageadmin.PackageAdmin#getExportedPackages(Bundle), does not follow the spec.
142 * [FELIX-3367] - getClassloader permission
143 * [FELIX-3397] - NPE when trying to resolve invalid fragments
144 * [FELIX-3411] - The implementation of org.osgi.service.startlevel.StartLevel#setStartLevel(int) does not follow the spec
145 * [FELIX-3413] - NPE and thread blocked in org.osgi.service.packageadmin.PackageAdmin#refreshPackages(Bundle[])
146 * [FELIX-3455] - Framework JARs for JDK 7
147 * [FELIX-3465] - Multi root resolve operations may cause duplicate blame chains to be created
148 * [FELIX-3618] - [Framework] Should not allow bundles to use generic cap/req headers for osgi.wiring.* namespaces
149 * [FELIX-3626] - Issue of felix on android 4.1
150 * [FELIX-3632] - [Framework] Parsing of delimited strings in manifest parser collapses all consecutive escapes
151 * [FELIX-3670] - PackageAdmin.isBundleType throws NPE for uninstalled bundle
152 * [FELIX-3713] - Bundle.start() returns without starting the bundle
153 * [FELIX-3743] - Potential endless loop setting the active framework startlevel
154 * [FELIX-3753] - Felix crashes when embedded within Felix
155 * [FELIX-3761] - When a bundle registers a service, the bundle lock is obtained without any real purpose
156 * [FELIX-3766] - Slightly invalid logic for pre-checking dynamic imports which cause the framework the grab the lock with no real need
157 * [FELIX-3803] - Bundle#getResource always try to resolve the bundle
158 * [FELIX-3824] - Possible InvalidStateException thrown while unregistering bundle services
159 * [FELIX-3840] - problem with URLHandlers when running 2 frameworks in one jvm in separate class loaders
160 * [FELIX-3844] - Native bundles cannot be installed on Windows 8 and Windows Server 2012
161 * [FELIX-3852] - InstallBundle throws ClassCastException: java.util.jar.Attributes$Name cannot be cast to java.lang.String
162 * [FELIX-3887] - ClassCastException during resolution of Require-Bundle: system.bundle
163
164** Improvement
165 * [FELIX-3344] - [Framework] Filter parsing treats ** as invalid syntax
166 * [FELIX-3372] - Add the ability to handle a blank on the property "org.osgi.framework.system.packages.extra"
167 * [FELIX-3394] - [Framework] Refactor internal resolver APIs to better align with upcoming OSGi resolver spec
168 * [FELIX-3447] - Optimize read only collections by using a specific class and not a wrapper which is slower
169 * [FELIX-3553] - Use of parallel class loading capability of JDK7
170 * [FELIX-3609] - Small optimizations
171 * [FELIX-3611] - Bundle certificates are not added to the CodeSource when building the BundleProtectionDomain
172 * [FELIX-3807] - Refreshing bundles should first grab all the bundle locks to avoid concurrent modifications of those bundles
173
174** New Feature
175 * [FELIX-3504] - [Framework] Move to OSGi R5 packages
176
177** Task
178 * [FELIX-3786] - Create system package definintions for Java 8
179
180
181Changes from 4.0.2 to 4.0.3
182---------------------------
183
184** Bug
185 * [FELIX-3003] - NPE in ResolverImpl.permutateIfNeeded
186 * [FELIX-3296] - URLHandlers caches null as values for common protocols
187 * [FELIX-3302] - Adapt the URLHandlers for the 4.0 refactoring
188 * [FELIX-3363] - Native bundles cannot be installed on Windows Server 2008 r2 with the tag win32
189 * [FELIX-3393] - Possible deadlock with reentrant calls
190 * [FELIX-3572] - [Framework] Resolver is not checking package space consistency for dynamic imports
191
192** Improvement
193 * [FELIX-3262] - Startup delay due to URLHandlersBundleStreamHandler
194
Karl Pauls2aca9862011-11-20 20:25:42 +0000195Changes from 4.0.1 to 4.0.2
196---------------------------
197
198** Bug
199 * [FELIX-3178] - NPE in ResolverImpl
200 * [FELIX-3194] - [Framework] Manifest parser is not correctly handling escapes
201 * [FELIX-3205] - Error resolving system.bundle dependencies
202 * [FELIX-3207] - Improper handling of nulls and substring matching at CapabilitySet/SimpleFilter
203 * [FELIX-3211] - org.apache.felix.framework.cache.BundleCache.deleteDirectoryTreeRecursive throws NPE
204 * [FELIX-3220] - Multiple ClassCastException(s) when invoking OSGi Service-Hooks (EventHook, FindHook)
205
206** Improvement
207 * [FELIX-3166] - Make Felix compile within Eclipse
208
209** New Feature
210 * [FELIX-3156] - Implement Bundle::getDataFile and Bundle::compareTo
211
Karl Paulscec4bab2011-10-10 19:10:44 +0000212Changes from 4.0.0 to 4.0.1
213---------------------------
214
215** Bug
216 * [FELIX-3137] - [Framework] Capabilities from resolved singleton bundles are not indexed correctly
217 * [FELIX-3150] - Filter parameter is ignored at getServiceReferences
Karl Paulsf71e84a2011-10-10 20:12:25 +0000218 * [FELIX-3153] - [Framework] refreshPackages() should stop bundles in one pass and refresh them in a second pass
Karl Paulscec4bab2011-10-10 19:10:44 +0000219
220** Improvement
221 * [FELIX-3138] - [Framework] Refactor some unnecessary code in the resolver
222 * [FELIX-3141] - [Framework] Framework should filter removal pending fragments not the resolver
223
Karl Paulsc2bd5042011-09-22 14:49:24 +0000224Changes from 3.2.2 to 4.0.0
Karl Pauls5bc739a2011-09-22 13:23:51 +0000225---------------------------
226
227** Bug
228 * [FELIX-2762] - Substring parser incorrectly disallowing use of parentheses characters
229 * [FELIX-2990] - [Framework] Bug introduced into handling of native libraries during a fresh
230 * [FELIX-3015] - [Framework] Provide org.osgi.util.tracker version 1.5
231 * [FELIX-3033] - [Framework] Service registry hooks are not correctly filtering bundle contexts for event hook
232 * [FELIX-3038] - Framework does not offer J2SE-1.2 Execution Environment
233 * [FELIX-3043] - [Framework] Resolver is not correctly resolving fragments in all cases
234 * [FELIX-3059] - Reexported packages are not calculate correctly leading to resolver and class loading bugs
235 * [FELIX-3062] - [Framework] Resolver gets into infinite loop in the face of a require-bundle cycle
236 * [FELIX-3082] - [Framework] Bundles not allowed to add listeners while in STOPPING state
237 * [FELIX-3085] - Importing/exporting "." should not be allowed
238 * [FELIX-3096] - Could not add FrameworkListener from ServiceListener
239
240** Improvement
241 * [FELIX-2467] - The framework extensions should be returned when invoking the method PackageAdmin#getFragments with the system bundle
242 * [FELIX-2572] - JRE system packages should include "uses" constraints
243 * [FELIX-2950] - [Framework] Adopt OSGi R4.3 API as framework internal API
244 * [FELIX-2998] - [Framework] OSGi R4.3 changed filter handling of exceptions when calling equals()/compare() to return false
245 * [FELIX-3000] - Move sending service registered event out of bundle lock
Karl Pauls5bc739a2011-09-22 13:23:51 +0000246 * [FELIX-3071] - [Framework] It should be possible to limit number of open JAR files
247 * [FELIX-3125] - [Framework] Use single file per bundle in bundle cache by default
248
249** New Feature
250 * [FELIX-2959] - [Framework] Implement OSGi R4.3 class loader byte-code weaving hook
251 * [FELIX-2969] - [Framework] Implement OSGi R4.3 framework wiring object
252 * [FELIX-2973] - [Framework] Implement OSGi R4.3 generic capabilities and requirements
253 * [FELIX-2975] - [Framework] Implement OSGi R4.3 framework start level object
254 * [FELIX-2986] - [Framework] Implement OSGi R4.3 resolver hooks
255 * [FELIX-2999] - [Framework] OSGi R4.3 now specifies that number types should be trimmed when evaluating filters
256 * [FELIX-3032] - [Framework] Implement OSGi R4.3 bundle hooks
257 * [FELIX-3052] - [Framework] Implement OSGi R4.3 system bundle generic capabilities
258 * [FELIX-3056] - [Framework] Implement OSGi R4.3 event listener service registry hook
259 * [FELIX-3122] - [Framework] Implement OSGi R4.3 framework UUID
260 * [FELIX-3124] - [Framework] Implement OSGi R4.3 property to allow installing bundles with the same BSN and version
261
262** Task
263 * [FELIX-3110] - [Framework] Implement 4.3 security checks
264
265
Karl Pauls5bfc61f2011-05-11 19:00:36 +0000266Changes from 3.2.1 to 3.2.2
267---------------------------
268
269** Bug
270 * [FELIX-2935] - Bundle.getEntryPaths and findEntries are returning META-INF/ multiple times
271 * [FELIX-2941] - Felix Framework 3.2.0 and Framework Security 1.4.2 fails OSGI Conditional Permission Admin CT when running on IBM JVM 5 and 6.
272 * [FELIX-2942] - Bundles with higher start level get activated even before framework reaches that start level
273
274
Karl Pauls47b9d042011-04-18 21:16:29 +0000275Changes from 3.2.0 to 3.2.1
276---------------------------
277
278* Bug
279 * [FELIX-2901] - [Framework] NPE from a host bundle during framework shutdown
280 * [FELIX-2917] - Constructor of SecurityExceptino() which is incompatible to 1.4 is used
Karl Paulsf1e813f2011-04-26 20:31:30 +0000281 * [FELIX-2924] - bundle stop hangs for http-2.2.0 in felix-3.2.0
Karl Pauls47b9d042011-04-18 21:16:29 +0000282
283** Improvement
284 * [FELIX-2909] - [Framework] Resolver could be more efficient if it detected if fragments were present
285
286
Karl Paulsa012b532011-03-28 19:42:04 +0000287Changes from 3.0.9 to 3.2.0
288---------------------------
289
290* Bug
291 * [FELIX-1816] - deadlock on SystemBundle.stop()
292 * [FELIX-2741] - NPE in ResolverImpl.calculatePackageSpaces
293 * [FELIX-2748] - Possible synchronization issue with BundleContext.getBundle()
294 * [FELIX-2877] - java6 update 24 breaks felix when used inside webstart
295
296
297** Improvement
298 * [FELIX-2858] - [Framework] Modify resolver to be self-contained with respect to fragment handling
299 * [FELIX-2859] - [Framework] Modify resolver to be self-contained with respect to singleton handling
300 * [FELIX-2864] - [Framework] Add package profile for JDK7 to default properties
301
Guillaume Nodet4b4ae502011-02-21 09:38:48 +0000302Changes from 3.0.8 to 3.0.9
303---------------------------
304
305** Bug
306 * [FELIX-1581] - Bundle#update, Bundle#uninstall and Bundle#stop should wait for a (configurable) timeout before throwing an exception if the bundle is starting or stopping
307 * [FELIX-2784] - When the framework try to grab the bundle lock, it ignores thread interruption
Guillaume Nodet4b4ae502011-02-21 09:38:48 +0000308 * [FELIX-2822] - [Framework] System bundle module's state not reset when framework restarted leading to NPE
309 * [FELIX-2832] - [Framework] It should not be possible to open an URLConnection to "/" for a bundle URL
310 * [FELIX-2840] - [Framework] Uninstalling an uninstalled bundle throws NoSuchElementException
311 * [FELIX-2849] - PackageAdmin is inconsistent between getFragments and getHosts
312 * [FELIX-2850] - PackageAdmin return fragments / hosts even if the host isn't resolved
313 * [FELIX-2851] - Resolution problems after a fragment can't be resolved
314
315** Improvement
316 * [FELIX-2841] - [Framework] Improve resolve exception messages
317
Richard S. Hall6de24032011-02-20 21:10:48 +0000318Changes from 3.0.7 to 3.0.8
319---------------------------
320
321** Bug
322 * [FELIX-2749] - Boolean.parseBoolean() newly defined in Java5 should not be used.
323 * [FELIX-2789] - Native library matching is not correctly checking additional extensions
324 * [FELIX-2800] - Logging will throw an NPE if no bundle is specified
325 * [FELIX-2802] - A failed update doesn't rollback properly
326 * [FELIX-2805] - Cache PackageAdmin.getBundle() result for system bundle classes
327
Karl Pauls4d06aa62010-12-26 20:58:00 +0000328Changes from 3.0.6 to 3.0.7
329---------------------------
330
331** Bug
332 * [FELIX-2456] - Framework no longer fires UNRESOLVED event when a bundle is explicitly refreshed
333 * [FELIX-2693] - [Framework] Service registry should throw a ServiceException for factories resulting in a cycle
334 * [FELIX-2700] - Framework uses java.nio package which is not supported by CDC VM
335 * [FELIX-2710] - [Framework] For exploded bundles Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar")
336 * [FELIX-2717] - [Framework] Resolver treats multiple exports of same package as conflicting for fragment imports
337 * [FELIX-2725] - [Framework] Resolver is not correctly calculating exported packages for already resolved modules
338 * [FELIX-2728] - JarRevision does not close URLConnections which are instances of HttpURLConnection
339 * [FELIX-2736] - [Framework] Resolver is not correctly verifying package space consistency for dynamic imports
340 * [FELIX-2738] - [Framework] DirectoryContent does not handle security correctly
341
342** Improvement
343 * [FELIX-2703] - [Framework] Include OSGi/Minimum EEs in default properties
344 * [FELIX-2721] - [Framework] Implement custom manifest parser and avoid JarFile
345 * [FELIX-2737] - [Framework] Optimize resolver algorithm by not re-calculating uses constraints for resolved modules
346
Karl Pauls13972642010-11-03 20:44:01 +0000347Changes from 3.0.5 to 3.0.6
348---------------------------
349
350** Bug
351 * [FELIX-2670] - [Framework] Implicit boot delegation doesn't delegate for external code in all cases
352 * [FELIX-2683] - [Framework] Bundle last modified time is not persisted on deployment
353
354** Improvement
355 * [FELIX-2560] - Bundle URLs do not survive refreshes
356
357** New Feature
358 * [FELIX-2646] - [Framework] Locking could be used to prevent concurrent access to a single bundle cache
359
Karl Paulsdd404492010-10-18 21:32:43 +0000360Changes from 3.0.4 to 3.0.5
361---------------------------
362
363** Bug
364 * [FELIX-2653] - LinkageError caused by duplicate class definition during implicit boot delegation
365
366** Improvement
367 * [FELIX-2645] - Add a (hidden) way to retrieve a local URL for a given bundle URL
368 * [FELIX-2654] - [Framework] Modify bundle cache to use a single file per bundle state
369
Karl Pauls7c620342010-10-04 20:22:24 +0000370Changes from 3.0.3 to 3.0.4
371---------------------------
372
373** Bug
374 * [FELIX-2584] - No FrameworkEvent.ERROR on unchecked exception in event listener
375 * [FELIX-2629] - [Framework] Module class loader should return an empty enumeration for getResources()
376
377** Improvement
378 * [FELIX-2619] - [Framework] Bundle cache is rechecking nonexistent files again and again
379 * [FELIX-2626] - [Framework] Bundle cache is rewriting some files when restarting bundles
380
Karl Pauls1c3a4592010-09-22 20:26:29 +0000381Changes from 3.0.2 to 3.0.3
382---------------------------
383
384** Bug
385 * [FELIX-2548] - Resolver should use case sensitive indexing for capabilities
386 * [FELIX-2569] - Felix bundle classloader always delegates to parent loader in getResources()
387 * [FELIX-2589] - SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set
388 * [FELIX-2598] - Hang in Felix: thread owing a bundle lock waits for ever to lock it again
389 * [FELIX-2599] - When specifying the packages exported by the system bundle, attributes and directives on packages do not show up in the system bundle headers
390
391** Improvement
392 * [FELIX-1022] - Classloader Exceptions should be more informative
393 * [FELIX-2549] - Fix some synchronization issues in content handling
394 * [FELIX-2555] - Log messages should contain the bundle id, when available
395 * [FELIX-2597] - Deadlock during delivery of resolved event
396
Karl Paulsbd2998e2010-08-18 20:16:33 +0000397Changes from 3.0.1 to 3.0.2
398---------------------------
399
400** Bug
401 * [FELIX-2421] - Implicit bootdelegation doesn't ignore classloaders if they are inner classes
402 * [FELIX-2437] - Deadlock on refrsh Import and refresh
403 * [FELIX-2451] - Felix uses System.out to print debug messages related to resolver...
404 * [FELIX-2459] - Wrong error message on a missing package
405 * [FELIX-2466] - Unknown attributes are not stripped from Fragment-Host header
406 * [FELIX-2473] - Subtring matching is incorreclty matching against an empty string
407 * [FELIX-2479] - Required bundles not correctly re-exporting their substitutable exports
408
409** Improvement
410 * [FELIX-2528] - Potential performance issue in resolver when uses constraint conflict is detected
411 * [FELIX-2529] - In some scenarios the resolver will not backtrack on imported package decisions
412
Karl Pauls82450a22010-06-14 20:04:02 +0000413Changes from 3.0.0 to 3.0.1
414---------------------------
415
416** Bug
417 * [FELIX-2401] - NPE in org.apache.felix.framework.FilterImpl.DictionaryCapability.getAttribute(String)
418
Karl Pauls74d9aca2010-06-06 21:23:05 +0000419Changes from 2.0.5 to 3.0.0
420---------------------------
421** Sub-task
422 * [FELIX-2036] - Improve resolver's generic capability/requirement model
423 * [FELIX-2037] - Improve resolver performance by making solution space searching smarter
424
425** Bug
426 * [FELIX-995] - JRE packages are exported with wrong version
427 * [FELIX-1967] - Freeze finding consistent class space
428 * [FELIX-2080] - Updating bundles when debugging switched on might result in a deadlock with 100% CPU usage
429 * [FELIX-2150] - URLStreamHandlerProxy.setURL may not set query component correctly
430 * [FELIX-2172] - Extremely long resolve stage when running CXF-DOSGi system test
431 * [FELIX-2177] - Fragment bundles not loaded after second start when using autodeploy
432 * [FELIX-2271] - CLONE -NPE "name can't be null" when trying to install a bundle in Felix 2.0.3
433 * [FELIX-2273] - getClassLoader-permission required accessing classes from dynamically loaded class
434 * [FELIX-2281] - Bundle id order affects fragment resolution success
435 * [FELIX-2317] - Possible NPE for jars with null Manifest
436 * [FELIX-2321] - BundleException type should be properly set when installing a duplicate bundle
437 * [FELIX-2332] - Lots of contention on ExtensionManager.openConnection(URL)
438 * [FELIX-2335] - Bundle.loadClass() for system bundle doesn't obey boot delegation
439 * [FELIX-2356] - extension bundle cannot load class from embed jar
440 * [FELIX-2383] - Bundles are restarted during start level change
441 * [FELIX-2392] - Felix framework uses a Java5 method
442
443** Improvement
444 * [FELIX-1210] - Allow jars with missing intermediate entries to be handled as if they were present in Bundle.getEntryPaths
445 * [FELIX-1797] - Customizable Framework startup message
446 * [FELIX-2035] - Reimplement framework resolver
447 * [FELIX-2039] - Reimplement standard OSGi LDAP filter to use new filter solution for resolver
448 * [FELIX-2040] - Modify framework service registry to use resolver's new capability/requirement model
449 * [FELIX-2041] - Look into using generics in framework code
450 * [FELIX-2042] - Use Gogo as the default shell for the framework distribution
451 * [FELIX-2324] - Support execution environment so that OBR works properly
452 * [FELIX-2336] - Variable substitution in configuration files should ignore mismatched delimiters
453
454Changes from 2.0.4 to 2.0.5
455---------------------------
456** Bug
457 * [FELIX-1753] - The start level should check that the bundle still exists before starting it to avoid an ugly exception
458 * [FELIX-2087] - NPE "name can't be null" when trying to install a bundle in Felix 2.0.3
459 * [FELIX-2107] - Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>'
460 * [FELIX-2195] - Using URLDecoder.decode on locations is wrong
461 * [FELIX-2222] - Failure to reinstall a cached bundle will corrupt the bundle cache
462
Karl Pauls1da29612010-02-14 22:08:33 +0000463Changes from 2.0.3 to 2.0.4
464---------------------------
465
466** Bug
467 * [FELIX-2056] - URLHandlersStreamHandler not getting handlers from frameworks that are inside a different classloader
468 * [FELIX-2067] - Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name
469 * [FELIX-2073] - The System Bundle is not providing WS Addressing
470
471** Improvement
472 * [FELIX-2071] - Missing checks inside ModuleImpl (in Framework) which causes exceptions
473
Karl Pauls6532a9d2010-02-04 22:44:52 +0000474Changes from 2.0.2 to 2.0.3
475---------------------------
476
477** Bug
478 * [FELIX-1838] - PackageAdmin.getExportedPackages() duplicates output for packages with different version
479 * [FELIX-1867] - ModuleImpl diagnoseClassLoadError throw NullPointerException for empty package name in debug mode
480 * [FELIX-1917] - A few minor bugs in the framework found while embedding Felix
481 * [FELIX-1919] - Fragment bundle cannot be linked to its host
482 * [FELIX-1920] - RequiredBundle.getRequiringBundles() incorrectly calculates result
483 * [FELIX-1929] - getStartLevel() always reports requested start level, not active start level
484 * [FELIX-1982] - Documented but uninterpreted felix.cache.* properties
485 * [FELIX-1998] - Use UTF-8 when decoding reference location URLs
486 * [FELIX-2002] - Uninstalled fragments are not properly detached
487
488** Improvement
489 * [FELIX-37] - Implement security for bundle resource URLs
490 * [FELIX-325] - Factor out security checks from the framework/system bundle code
491 * [FELIX-1973] - Implement all required security checks
492
493** New Feature
494 * [FELIX-30] - Implement extension bundles
495 * [FELIX-1991] - Allow boot delegation class loader to be configurable per bundle
496
497
Karl Pauls499184a2009-11-01 19:22:20 +0000498Changes from 2.0.1 to 2.0.2
499---------------------------
500
501** Bug
502 * [FELIX-1754] - Usage of BundleContext.getServiceReferences results in failure to activate components
503 * [FELIX-1782] - Errors during start-up on gnu/classpath based VMs (jamvm, kaffe, cacao) and mika
504 * [FELIX-1795] - Bundle version ignored in Fragment-Host header
505 * [FELIX-1834] - java.io.IOException: No framework context found when embedding felix frameworks as bundles
506
507** Improvement
508 * [FELIX-1534] - Improve fragment merging
509 * [FELIX-1781] - Try to reduce object allocations/usage in resolver algorithm
510 * [FELIX-1783] - Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter)
511
Karl Pauls1be8b552009-10-11 20:26:42 +0000512Changes from 2.0.0 to 2.0.1
513---------------------------
514
515** Bug
516 * [FELIX-1565] - Deadlock UrlHandlers
517 * [FELIX-1573] - Occasional NPE in URLHandlersBundleStreamHandler
518 * [FELIX-1580] - Regression with native library handling
519 * [FELIX-1586] - Framework reports org.osgi.framework.version as 1.3
520 * [FELIX-1600] - ServiceReference.isAssignableTo() always returns true if requesting bundle has no wire
521 * [FELIX-1631] - Implicit bootdelegation causes hang on android
522 * [FELIX-1710] - Resolver still does not discard all partial results when a cyclical dependency fails
523 * [FELIX-1721] - Framework boot delegation has a bug due to extraneous code
524 * [FELIX-1731] - Native library extraction could be improved to help cases where there are dependencies among libraries
525
526** Improvement
527 * [FELIX-1619] - Change the default auto-deploy actions to be install and start only
528 * [FELIX-1625] - Refactor bundle cache to simplify management
529 * [FELIX-1679] - VersionRange class should use finals to be thread safe.
530 * [FELIX-1724] - Various module metadata should be cached
531
532** Task
Karl Pauls1be8b552009-10-11 20:26:42 +0000533 * [FELIX-1617] - Modify framework, main, shell, shell.tui, and obr to depend on official OSGi JAR files
534
Karl Pauls43002282009-09-06 22:01:29 +0000535Changes from 1.8.1 to 2.0.0
536---------------------------
537
538** Bug
539 * [FELIX-893] - Felix fails to start using J9 JVM
540 * [FELIX-905] - Felix needs an RFC 126 FindHook
541 * [FELIX-906] - Felix needs an RFC 126 EventHook
542 * [FELIX-1122] - Extension bundles are not being removed from the bundle list when uninstalled
543 * [FELIX-1123] - System bundle does still not correctly handle (export) package attributes
544 * [FELIX-1124] - ResourceNotFoundException too verbose
545 * [FELIX-1130] - Bundle.getHeaders() returns a Dictionary<java.util.jar.Attribute.Name,String>
546 * [FELIX-1138] - URL Handlers performance regression due to service lookups
547 * [FELIX-1170] - MemoryLeak when stopping and restarting Felix
548 * [FELIX-1187] - BundleContext.ungetService() should return false only if the usage count is zero when the method is invoked
549 * [FELIX-1197] - Bundle Fragments not resolved correctly
550 * [FELIX-1198] - config.properties still refers to old org.osgi.framework.startlevel property
551 * [FELIX-1247] - BundleEvent.UNRESOLVED should be fired during update/uninstall not refresh
552 * [FELIX-1249] - Bundle.findEntries() should search fragments as well as the bundle itself
553 * [FELIX-1254] - Bundle#findEntries does not return resources from fragments
554 * [FELIX-1271] - Improve manifest localization to handle special cases
555 * [FELIX-1272] - Need to special case getResource()/getResources()/loadClass() for fragment bundles
556 * [FELIX-1273] - Bundle.getResources() should return null for a non-existent resource
557 * [FELIX-1277] - Fix Service Hooks Tests failures in RFC 126 TCK
558 * [FELIX-1279] - Framework.waitForStop() does not obey timeout
559 * [FELIX-1280] - Package Admin - getExportedPackages must return null instead of an empty array
560 * [FELIX-1285] - SecureAction captures the calling context incorrectly
561 * [FELIX-1286] - Module class loader should use secure action instead of a privileged block
562 * [FELIX-1287] - System bundle operations from RFC-132 (e.g., init(), start(), stop(), waitForStop()) are using wrong lock object
563 * [FELIX-1288] - System bundle context should be null after stopping the framework
564 * [FELIX-1292] - PackageAdmin.getBundle(Class) should return null if the bundle associated with the passed in class is from another framework
565 * [FELIX-1293] - StringMap used for case insensitive properties does not respect ordering if case sensitivity is changed
566 * [FELIX-1295] - ServiceRegistry increments/decrements service use count after/before getService/ungetService() is called on ServiceFactory
567 * [FELIX-1371] - Automatic parent class loader delegation does not correctly filter calls to Bundle.loadClass()
568 * [FELIX-1397] - Required execution environment verification should happen at resolve time, not install time
569 * [FELIX-1400] - bootdelegation and dynamic-import-packages are accepting invalid patterns
570 * [FELIX-1401] - Manifest localization with fragments not handled correctly
571 * [FELIX-1422] - Resolver does not always discard partial results when a cyclically dependency fails
572 * [FELIX-1435] - Resolver does not always resolve a dynamic import to a fragment export
573 * [FELIX-1527] - R4.2 spec errata now specifies uninstalling a bundle must transition through INSTALLED on its way to UNINSTALLED
574 * [FELIX-1551] - Start level service must synchronously persist bundle start level changes
575 * [FELIX-1556] - Bundle.getResource/s is not able to find resources if the package is not alraedy wired when I use DynamicImport-Package: *
576
577** Improvement
578 * [FELIX-712] - Ability to disable automatic parent classloader delegation
579 * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception
580 * [FELIX-1120] - Enable BundleCache customization
581 * [FELIX-1134] - Add support for native libraries in fragments
582 * [FELIX-1189] - Improve error message in main when there is an error processing auto-install/start bundles
583 * [FELIX-1246] - PackageAdmin.getBundle() is not implemented efficiently
584 * [FELIX-1260] - Make Bundle.findEntries() and Bundle.getEntryPaths() more thread safe
585 * [FELIX-1291] - Implement support for proper return type from Framework.waitForStop()
586 * [FELIX-1300] - Remove legacy bundle cache support when extracting embedded JAR files
587 * [FELIX-1360] - Improve native library matching algorithm (part 2)
588 * [FELIX-1404] - Use provided classes from OSGi R4.2 companion code
589 * [FELIX-1432] - Manifest parser doesn't return import package declarations in order of manifest
590 * [FELIX-1462] - Felix framework launcher should only use standard launching API
591
592** New Feature
593 * [FELIX-33] - Implement system bundle update
594 * [FELIX-749] - Add support for lazy activation of bundles
595 * [FELIX-1193] - Implement org.osgi.framework.bundle.parent from RFC 132
596 * [FELIX-1205] - Update to the latest OSGi R4.2 API
597 * [FELIX-1244] - Add support for ServiceEvent.MODIFIED_ENDMATCH
598 * [FELIX-1250] - Support service exceptions for service factories
599 * [FELIX-1289] - Support for FrameworkUtil.getBundle()
600 * [FELIX-1297] - Implement support for new org.osgi.framework.command.execpermission configuration property
601 * [FELIX-1298] - Implement support for new org.osgi.framework.library.extensions configuration property
602 * [FELIX-1446] - Framework launcher should automatically deploy bundles in bundle directory
603 * [FELIX-1478] - Add shutdown hook to launcher to cleanly shutdown the framework if the process is killed
604
605
606
607
608** Task
609 * [FELIX-1144] - The NOTICE file for Main subproject is not correctly copied into the source JAR
610
611
612** Test
613 * [FELIX-1208] - Need migrate the EventDispatcherTest to newer version of EasyMock
614
Karl Pauls1919aa72009-05-10 21:17:30 +0000615Changes form 1.6.1 to 1.8.0
616---------------------------
617** Bug
618 * [FELIX-1034] - bootdelegation property seems to be matching more packages than desired
619 * [FELIX-1059] - DynamicImport-Package matches more packages than desired
620
621** Improvement
622 * [FELIX-1060] - URLHandlers doesn't support URLStreamHandler.openConnection(proxy,url) method
623
624** New Feature
625 * [FELIX-29] - Implement bundle fragments
626
Karl Pauls962f89f2009-04-26 20:36:08 +0000627Changes from 1.6.0 to 1.6.1
628---------------------------
629** Bug
630 * [FELIX-1027] - deadlock with felix 1.6.0 ?
631 * [FELIX-1028] - NPE in configuration view when running webconsole with Equinox
632 * [FELIX-1033] - Exceptions when Felix is started with security manager
633 * [FELIX-1035] - deadlock observed while using fileinstall to monitor multiple directories
634 * [FELIX-1045] - Felix 1.6.0 fails with ClassCircularityError
635
Karl Pauls62ff7ab2009-03-31 21:06:46 +0000636Changes from 1.4.1 to 1.6.0
637---------------------------
638
639** Bug
640 * [FELIX-737] - Resolver does not correctly discard export when module imports the same package (part 2)
641 * [FELIX-852] - Fragment support is currently limited to directly resolved hosts
642 * [FELIX-869] - SCR throws exception on invalidating a component with a reference to a service that was already unregistered
643 * [FELIX-891] - Bundle lock acquisition should not record lock until it verifies the bundle is lockable
644 * [FELIX-892] - ServiceReferenceImpl improper implementation of equals and hashcode
645 * [FELIX-893] - Felix fails to start using J9 JVM
646 * [FELIX-897] - Empty system package is exported when a semicolon is present in "extra" configuration
647 * [FELIX-902] - Empty bundle.state file produces NPE
648 * [FELIX-910] - Framework may ignore framework startlevel on startup
649 * [FELIX-911] - Potential deadlock between Bundle.stop() and BundleContext.registerService()
650 * [FELIX-915] - PackageAdmin returns null on getBundle(...) with system classes
651 * [FELIX-934] - Bootdelegation bug
652 * [FELIX-947] - Behaviour of startlevel comman doesn't adhere to spec
653 * [FELIX-948] - ServiceReferenceImpl.compareTo should handle other types than integer for service ranking
654 * [FELIX-951] - Deadlock in iPojo when stopping Felix
655 * [FELIX-952] - Exception thrown when unregistering services because the bundle is stopped
656 * [FELIX-953] - Bundle#loadClass sometimes return null instead of throwing a CNFE
657 * [FELIX-961] - 100% CPU looping inside uses calculation
658 * [FELIX-962] - Erroneous class loading delegation to the application launcher classloader in some cases
659 * [FELIX-969] - system bundle does not correctly handle (export) package attributes
660 * [FELIX-971] - Exception thrown in ServiceTracker at shutdown
661 * [FELIX-978] - Resolver does not clean up properly on a failed recursive attempt to resolve
662 * [FELIX-1004] - Extensionmanager openConnection(URL) method should be public
663 * [FELIX-1005] - Strange list of imported packages returned by the package admin
664
665** Improvement
666 * [FELIX-681] - Modify daemon threads to catch all exceptions and log them to avoid premature thread death
667 * [FELIX-851] - Refactor the module abstraction layer to align more closely to OSGi concepts
668 * [FELIX-872] - JarContent swallows exception when opening manifest, it should log it
669 * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception
670 * [FELIX-894] - Loosen locking when starting/stopping/uninstalling a bundle by firing event without holding a lock
671 * [FELIX-908] - Unsynchronize access to bundle state inside BundleInfo by making the variable volatile
672
Karl Pauls1be3b032008-12-20 16:27:49 +0000673Changes from 1.4.0 to 1.4.1
674---------------------------
675
676* [2008-12-19] Refactor the URLHandlers implementation to fix a possible
677 Linkage-Error when running embedded inside tomcat. Furthermore, make it possible
678 to dynamically set a SecurityManager, change the url we add to the framework
679 classloader to fix issues with rmi and make sure we restore the previous URLStreamHandlerFactory
680 after stopping. (FELIX-842, FELIX-837, FELIX-844, FELIX-827)
681* [2008-12-19] Add missing javax.security.cert in JRE 1.4 and 1.5. (FELIX-854)
682* [2008-12-19] Improve framework internal locking protocol.
683* [2008-12-18] Fixed an issue where bundles with a non-existing native library
684 would not be removed correctly. (FELIX-835)
685* [2008-11-21] Throw an exception when there is an attempt to start or stop a
686 fragment, as per the spec. (FELIX-820)
687* [2008-11-20] Fixed a bug during shutdown where uninstalled fragments are not
688 properly closed. (FELIX-819)
689* [2008-11-14] Added partial support for new service registry hooks as proposed
690 for OSGi R4.2; currently, only listener hooks are supported. (FELIX-804)
691* [2008-11-08] Fixed Felix' delegation hack so that it correctly delegates to
692 the parent class loader for resources as appropriate; previously it was always
693 delegating for class loading, which was incorrect. (FELIX-808)
694
Karl Pauls89beb9b2008-11-06 16:17:00 +0000695Changes from 1.2.2 to 1.4.0
696---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +0000697
Karl Pauls89beb9b2008-11-06 16:17:00 +0000698* [2008-11-05] URLStreamHandlerService and ContentHandlerService override
699 built-in handlers and make it possible to use URLHandlers when extending the
700 Felix class. (FELIX-756, FELIX-800)
701* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799)
702* [2008-10-31] Fix some visibility issues in the LDAP operators which could
703 result in incorrect toString values. (FELIX-765)
704* [2008-10-31] Fixed spec compliance issues around getting a service reference
705 from an invalid registration and throwing an exception when there are
706 duplicate property keys. (FELIX-798)
707* [2008-10-21] Fixed an issue with extension bundles which would be installed
708 as fragments and fail to install extension bundles if they have incomplete
709 metadata. (FELIX-770)
710* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748)
711* [2008-10-16] Modified framework to have default values for the system
712 packages property, which also required modifying main to no longer expect to
713 set it. Now it is possible to start Felix with no configuration properties.
714 (FELIX-753)
715* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android
716 sdk.
717* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35)
718* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved.
719 (FELIX-777)
720* [2008-10-15] Modified the resolver to longer consider uninstalled fragments
721 and hosts when resolving dependencies; this required a new "stale" flag on
722 modules that gets set when their associated bundle is uninstalled. (FELIX-776)
723* [2008-10-15] Modified the resolver to sort candidates when resolving
724 Require-Bundle dependencies. (FELIX-775)
725* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include
726 bundles requiring the exporting bundle, in addition to those bundles
727 importing the package. Also tried to simplify dependency management code
728 by separating it out. (FELIX-764)
729* [2008-10-14] Fix a NullPointerException in SecureAction when a
730 SecurityManager is used by keeping pointers on the local stack. (FELIX-766)
731* [2008-10-13] Use System.gc to allow to update and uninstall bundles with
732 native libs on Windows. (FELIX-733)
733* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier
734 garbage collection. (FELIX-762)
735* [2008-10-10] Implements support for flushing the cache on framework
736 initialization. (FELIX-755)
737* [2008-10-10] Improve exception messages. (FELIX-750)
738* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754)
739* [2008-10-08] Modified the Felix API to aligned with the proposed standard
740 OSGi framework API. The framework instance can now be stopped and restarted.
741 (FELIX-753)
742* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713)
743* [2008-09-25] Correctly discard exported packages when a bundle is chosen to
744 import a package it exports. (FELIX-736)
745* [2008-09-24] Clearly distinguish between "resolved" and "unresolved"
746 capabilities, which is necessary since "resolved" capabilities have higher
747 priority than "unresolved" ones. (FELIX-730)
748* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has
749 been used. (FELIX-712)
750* [2008-09-23] Improve decoding of reference URLs. (FELIX-731)
751* [2008-09-23] For completeness, added symbolic names to framework and main.
752* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin.
753 (FELIX-728)
754* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages
755 correctly. (FELIX-722)
756* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports
757 was happening when it shouldn't. (FELIX-724)
758* [2008-09-12] Added a configuration property to determine whether installing a
759 fragment that uses unimplemented features throws an exception or logs a
760 warning. (FELIX-725)
761* [2008-09-12] Removed some experimental code for "implicit requirements",
762 since it was no longer needed.
763* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721)
764
765Changes from 1.2.1 to 1.2.2
766---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +0000767
Karl Pauls89beb9b2008-11-06 16:17:00 +0000768* [2008-10-14] Fixed a NullPointer exception that could happen when
769 running with a SecurityManager as a backport of FELIX-766.
770
Karl Paulsfa99d5e2008-09-07 19:54:09 +0000771Changes from 1.2.0 to 1.2.1
772---------------------------
773
774* [2008-09-05] Fixed a performance regression that was caused by uncached
775 access to the bundle manifest headers. (FELIX-711)
776* [2008-09-03] Fixed a bug in calculating the system bundle's exported
777 packages which added a null export package.
778
Karl Pauls30d88e12008-08-31 22:15:39 +0000779Changes from 1.0.4 to 1.2.0
780---------------------------
781
782* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682)
783* [2008-08-29] Throw an exception when installing a fragment that uses
784 features that we do not support.
785* [2008-08-20] Improve error reporting when loading bundle classes using
786 Bundle.loadClass.
787* [2008-08-16] Fix attribute checking when resolving dynamic imports.
788 (FELIX-676)
789* [2008-08-08] Implement singleton bundle support. (FELIX-102)
790* [2008-08-06] Default to current security policy if no security extension is
791 installed in order to make Subject.doAs work. (FELIX-654)
792* [2008-08-04] Return Bundle.getLastModified() for bundle URLs
793 lastModified(). (FELIX-582)
794* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577)
795* [2008-08-01] Add necessary stub methods to implement new R4.1 methods.
796 (FELIX-595)
797* [2008-08-01] Applied patch to properly return symbolic name when it has
798 parameters. (FELIX-650)
799* [2008-07-25] Fix some rollback issues after a bundle update throws an
800 exception. (FELIX-647)
801* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641)
802* [2008-07-07] Add support for the standard symbolic name for the system
803 bundle. (FELIX-602)
804* [2008-06-01] Add initial fragment support for extending the host bundle
805 class path. (FELIX-29, FELIX-656)
806
Karl Paulsecf4cc82008-04-21 23:32:57 +0000807Changes from 1.0.3 to 1.0.4
808___________________________
809
810* [2008-04-18] Check that the returned object from a service factory is an
811 instance of all classes named when the service was registered. (FELIX-540)
812* [2008-04-13] Fix an issue when logging messages while holding framework
813 internal locks that could lead to a deadlock. For now we just disable
814 logging to log services inside the framework. (FELIX-536)
815* [2008-04-13] Implemented various small performance improvments e.g.,
816 we now cache filters and create an index for objectclass to improve
817 service lookup performance and don't use the BundleInfo to get the
818 bundle id but the BundleImpl directly. Furthermore, we added an index to
819 get bundles by id.
820* [2008-04-04] Fix an NoClassDefFoundError when trying to query the
821 framework classloader for whether a class is available or not.
822* [2008-03-19] Don't try to resolve extension bundles and fix a
823 classcastexception that could happen if more then one framework is around
824 and both have extensions installed. Furthermore, make extension bundles
825 use the system bundle context.
826* [2008-03-07] Bundle.getResource does now check for AdminPermission.
827 (FELIX-150)
828* [2008-03-06] Make urlhandlers work when a handler factory is already set.
829 Furthermore, it is now possible to have more then one framework running
830 in more then one classloader. (FELIX-38).
831* [2008-03-05] Make LDAP filter reentrant.
832* [2008-02-29] Refactored the IContent abstraction from the module loader
833 layer to provide more generic access to the content of the module. This
834 makes it possible that a bundle's class path could span multiple module's,
835 which will be necessary for fragments. (FELIX-29)
836* [2008-02-27] Applied a patch to disable the class loading diagnostic message
837 when the logger is not at the DEBUG level. (FELIX-500)
838* [2008-02-15] Modified the service registry to use more fine-grained locking
839 to avoid callbacks to service factories while holding locks. (FELIX-489)
840
Karl Pauls7db0d882008-01-28 09:37:24 +0000841Changes from 1.0.1 to 1.0.3
Karl Paulsc0335862008-01-27 19:49:56 +0000842---------------------------
843
844* [2008-01-27] Moved framework docs to main, since the launcher examples now
845 depend on main for the auto-property handling.
846* [2008-01-25] Applied patches to improve how Felix finds resources when
847 getResources() is called. (FELIX-466, FELIX-467)
848* [2008-01-25] Make FilterImpl.toString() add escape characters where needed.
849 (FELIX-471)
850* [2008-01-16] Fix a NPE on framework restart when extension bundles are
851 installed.
852* [2008-01-15] Try to fix a potential visibility issue on loading a class
853 form a bundle where it seems to be possible that we create two classloaders
854 instead of one.
855* [2008-01-15] Modified boot delegation to not terminate when delegating to
856 parent class loader for non-java.* packages. (FELIX-463)
857* [2008-01-04] Fix some issues related to directories on the bundle class
858 path. Specifically, leading slashes created an issue and are now stripped
859 and entries were not being properly filtered when enumerating the contents
860 of a class path directory. (FELIX-426)
861* [2007-12-20] Modified logger to have all of its public methods be final to
862 avoid it from being extended in undesired ways via the constructor supplied
863 logger. (FELIX-428)
864* [2007-12-20] The TCK has changed to verify that bundles do not depend on
865 themselves, so we filter that case now.
866* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework
867 error event only when a bundle cannot be resolved. (FELIX-441)
868* [2007-12-19] Modified framework to accept a Logger instance so that host
869 applications can do custom logging until the log service arrives. (FELIX-428)
870* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440).
871* [2007-12-18] Improve native code loading - bundle installation will now
872 fail in case a native library is not in the jar and we only use the first
873 library of a given name. Furthermore, we now support .dylib extensions on
874 the mac as well as others; should make it possible to use .netmodules as
875 well. (FELIX-439)
876* [2007-12-17] Make the win32 alias match any version of windows for native
877 clauses. (FELIX-438)
878* [2007-12-14] Removed auto-property processing out of the framework and
879 into the default launcher, i.e, main. (FELIX-393)
880* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler()
881 when creating URL on jamvm and Mika. This patch resolves an unfortunate
882 interaction between our ExtensionManager and the URLHandlers by making the
883 URLHandlers aware of the extension protocol. Pretty much like we do already
884 for the bundle protocol. (FELIX-435)
885* [2007-11-26] Fix a small oversight in the extension manager that could lead
886 to a null pointer exception and save some memory by creating less objects.
887* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties
888 for some reason and avoid a null pointer in this case.
889* [2007-11-08] Reorganized usage count methods to better handle null
890 reference checking in response to Karl Pauls seeing an NPE when trying to
891 get a service that was already unregistered while shutting down the
892 framework.
893* [2007-11-06] Added a simple check to detect and work around a bug in J9.
894 (FELIX-416)
895* [2007-10-30] Change how the extension manager url stream handler handles
896 request to the root path in order to make some tomcat issue go away.
897 (FELIX-414)
898* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383)
899* [2007-10-24] Use system bundle when firing a framework error event when an
900 install error occurs.
901* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle.
902 (FELIX-394)
903* [2007-10-16] Modifies bundle resource URL handling such that if a resource
904 URL points to a resource that does not exist, a bundle class path search
905 for the resource will be instigated and if any matching resource is found,
906 that one will be used instead. (FELIX-383)
907* [2007-10-10] Auto-property handling now installs bundles into the default
908 bundle start level if a start level is not specified. (FELIX-359)
909* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the
910 ExtensionManager to immediately return null to prevent DNS lookup.
911 (FELIX-388)
912* [2007-09-30] Resolved a concurrency issue that could result in the same
913 bundle being resolved more than once; also tried to simplify locking in
914 the core search policy implementation. (FELIX-381)
915
Karl Pauls305c9642007-09-16 20:46:04 +0000916Changes from 1.0.0 to 1.0.1
917---------------------------
918
919* [2007-07-23] Fixed a bug in the framework shutdown process which was
920 causing threads calling Felix.stopAndWait() to not get notified that
921 the framework had shutdown. (FELIX-329)
922* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe
923 on execution. (FELIX-338)
924* [2007-08-17] Added support for persistent last used bundle ID to avoid
925 re-use of bundle identifiers. (FELIX-339)
926* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null
927 locale. (FELIX-346)
928* [2007-09-11] Added support to handle external termination of Felix
929 which was not handled or detected and prevented a restart of future
930 Felix instances in the same VM. (FELIX-363)
931* [2007-09-12] Add support for Collection values in the LDAP filter to
932 match the 4.1 spec.
933* [2007-09-12] Fixed a bug in the LDAP filter where attributes where
934 limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361)
935* [2007-09-13] Enable support for exporting the same package more than
936 once (FELIX-101).
937* [2007-09-13] Returns the system bundle from a call to
938 PackageAdmin.getBundle(Class) in case the class comes from the
939 classloader (or one of its parents) that loaded Felix and the system
940 bundle exports the package.
941* [2007-09-16] Fixed a bug in class space filtering in the service registry
942 that could result in class cast exceptions for service clients.
943* [2007-09-16] Fixed a bug that prevented extension bundle exports to be
944 usable.
945
Richard S. Hall2cd5bed2007-07-16 20:32:41 +0000946Changes from 0.8.0-incubator to 1.0.0
947-------------------------------------
948
949* [2007-01-18] Added support for bundle header localization. (FELIX-27)
950* [2007-01-22] Modified framework resolver to support a generic
951 capability/requirement model.
952* [2007-01-22] Reorganized and centralized manifest parsing code and added
953 support for resolver's generic capability/requirement model. (FELIX-98)
954* [2007-01-22] Improved native library naming normalization. (FELIX-26)
955* [2007-01-23] No longer eagerly resolving classes loaded from modules
956 since this was causing verification errors with IBM J9.
957* [2007-01-25] Added some support for execution environment checking.
958 (FELIX-23)
959* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32)
960* [2007-01-31] Added Require-Bundle support to resolve using the generic
961 capability/requirement model of the resolver. (FELIX-28)
962* [2007-02-05] Fixed a bug in processor type normalization for x86-64
963 processors.
964* [2007-02-09] The resolver previously ignored packages that were pending
965 removal when resolving new bundles, now it does not.
966* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled
967 if none of their exported packages are in use.
968* [2007-02-13] Added support for extension bundles. (FELIX-30)
969* [2007-03-02] Added a Bundle.getBundleContext() method until actual
970 support for OSGi R4.1.
971* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory
972 entries as well as file entries.
973* [2007-05-06] Modified LDAP evaluator to special case the fact that
974 BigDecimal is not available in Foundation profile.
975* [2007-05-21] Made some performance improvements in LDAP evaluation.
976* [2007-05-22] Modified JAR file to include Service Tracker package.
977* [2007-05-22] Improved concurrency handling around checking for already
978 loaded classes and defining classes.
979* [2007-06-05] Modified resource URLs to use port number rather than
980 prepend information to the resource path.
981* [2007-06-13] Improved dynamic imports to cycle through all available
982 candidates when checking for class space consistency.
983* [2007-06-18] Improved service registry filtering based on class versions
984 to allow a bundle to register a service for a different version of class
985 that it can access.
986* [2007-06-21] Modified our "last ditch effort" to guess when to delegate
987 to the system bundle to make it a little more robust.
988* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous
989 events to not be fired after stopping the framework instance and creating
990 a new instance. (FELIX-314)
991* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly
992 update a listener when it implemented multiple listener interfaces.
993* [2007-07-04] Modified Felix framework class to implement the Bundle
994 interface to improve the startup/shutdown sequence and to provide a
995 simplified API for creating framework instances.
996* [2007-07-11] Removed the PropertyResolver-related classes and now only
997 use Maps for configuration properties. (FELIX-324)