blob: 30260544fd80b1818511255385bc508693b03e47 [file] [log] [blame]
Guillaume Nodet4b4ae502011-02-21 09:38:48 +00001Changes from 3.0.8 to 3.0.9
2---------------------------
3
4** Bug
5 * [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
6 * [FELIX-2784] - When the framework try to grab the bundle lock, it ignores thread interruption
7 * [FELIX-2796] - felix.auto.deploy.action throws NPE with only "update" action
8 * [FELIX-2822] - [Framework] System bundle module's state not reset when framework restarted leading to NPE
9 * [FELIX-2832] - [Framework] It should not be possible to open an URLConnection to "/" for a bundle URL
10 * [FELIX-2840] - [Framework] Uninstalling an uninstalled bundle throws NoSuchElementException
11 * [FELIX-2849] - PackageAdmin is inconsistent between getFragments and getHosts
12 * [FELIX-2850] - PackageAdmin return fragments / hosts even if the host isn't resolved
13 * [FELIX-2851] - Resolution problems after a fragment can't be resolved
14
15** Improvement
16 * [FELIX-2841] - [Framework] Improve resolve exception messages
17
Richard S. Hall6de24032011-02-20 21:10:48 +000018Changes from 3.0.7 to 3.0.8
19---------------------------
20
21** Bug
22 * [FELIX-2749] - Boolean.parseBoolean() newly defined in Java5 should not be used.
23 * [FELIX-2789] - Native library matching is not correctly checking additional extensions
24 * [FELIX-2800] - Logging will throw an NPE if no bundle is specified
25 * [FELIX-2802] - A failed update doesn't rollback properly
26 * [FELIX-2805] - Cache PackageAdmin.getBundle() result for system bundle classes
27
Karl Pauls4d06aa62010-12-26 20:58:00 +000028Changes from 3.0.6 to 3.0.7
29---------------------------
30
31** Bug
32 * [FELIX-2456] - Framework no longer fires UNRESOLVED event when a bundle is explicitly refreshed
33 * [FELIX-2693] - [Framework] Service registry should throw a ServiceException for factories resulting in a cycle
34 * [FELIX-2700] - Framework uses java.nio package which is not supported by CDC VM
35 * [FELIX-2710] - [Framework] For exploded bundles Bundle.getEntry("a/b.jar/")==Bundle.getEntry("a/b.jar")
36 * [FELIX-2717] - [Framework] Resolver treats multiple exports of same package as conflicting for fragment imports
37 * [FELIX-2725] - [Framework] Resolver is not correctly calculating exported packages for already resolved modules
38 * [FELIX-2728] - JarRevision does not close URLConnections which are instances of HttpURLConnection
39 * [FELIX-2736] - [Framework] Resolver is not correctly verifying package space consistency for dynamic imports
40 * [FELIX-2738] - [Framework] DirectoryContent does not handle security correctly
41
42** Improvement
43 * [FELIX-2703] - [Framework] Include OSGi/Minimum EEs in default properties
44 * [FELIX-2721] - [Framework] Implement custom manifest parser and avoid JarFile
45 * [FELIX-2737] - [Framework] Optimize resolver algorithm by not re-calculating uses constraints for resolved modules
46
Karl Pauls13972642010-11-03 20:44:01 +000047Changes from 3.0.5 to 3.0.6
48---------------------------
49
50** Bug
51 * [FELIX-2670] - [Framework] Implicit boot delegation doesn't delegate for external code in all cases
52 * [FELIX-2683] - [Framework] Bundle last modified time is not persisted on deployment
53
54** Improvement
55 * [FELIX-2560] - Bundle URLs do not survive refreshes
56
57** New Feature
58 * [FELIX-2646] - [Framework] Locking could be used to prevent concurrent access to a single bundle cache
59
Karl Paulsdd404492010-10-18 21:32:43 +000060Changes from 3.0.4 to 3.0.5
61---------------------------
62
63** Bug
64 * [FELIX-2653] - LinkageError caused by duplicate class definition during implicit boot delegation
65
66** Improvement
67 * [FELIX-2645] - Add a (hidden) way to retrieve a local URL for a given bundle URL
68 * [FELIX-2654] - [Framework] Modify bundle cache to use a single file per bundle state
69
Karl Pauls7c620342010-10-04 20:22:24 +000070Changes from 3.0.3 to 3.0.4
71---------------------------
72
73** Bug
74 * [FELIX-2584] - No FrameworkEvent.ERROR on unchecked exception in event listener
75 * [FELIX-2629] - [Framework] Module class loader should return an empty enumeration for getResources()
76
77** Improvement
78 * [FELIX-2619] - [Framework] Bundle cache is rechecking nonexistent files again and again
79 * [FELIX-2626] - [Framework] Bundle cache is rewriting some files when restarting bundles
80
Karl Pauls1c3a4592010-09-22 20:26:29 +000081Changes from 3.0.2 to 3.0.3
82---------------------------
83
84** Bug
85 * [FELIX-2548] - Resolver should use case sensitive indexing for capabilities
86 * [FELIX-2569] - Felix bundle classloader always delegates to parent loader in getResources()
87 * [FELIX-2589] - SecurityException "SecurityManager already installed" is thrown when calling Framework.init() multiple times with FRAMEWORK_SECURITY set
88 * [FELIX-2598] - Hang in Felix: thread owing a bundle lock waits for ever to lock it again
89 * [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
90
91** Improvement
92 * [FELIX-1022] - Classloader Exceptions should be more informative
93 * [FELIX-2549] - Fix some synchronization issues in content handling
94 * [FELIX-2555] - Log messages should contain the bundle id, when available
95 * [FELIX-2597] - Deadlock during delivery of resolved event
96
Karl Paulsbd2998e2010-08-18 20:16:33 +000097Changes from 3.0.1 to 3.0.2
98---------------------------
99
100** Bug
101 * [FELIX-2421] - Implicit bootdelegation doesn't ignore classloaders if they are inner classes
102 * [FELIX-2437] - Deadlock on refrsh Import and refresh
103 * [FELIX-2451] - Felix uses System.out to print debug messages related to resolver...
104 * [FELIX-2459] - Wrong error message on a missing package
105 * [FELIX-2466] - Unknown attributes are not stripped from Fragment-Host header
106 * [FELIX-2473] - Subtring matching is incorreclty matching against an empty string
107 * [FELIX-2479] - Required bundles not correctly re-exporting their substitutable exports
108
109** Improvement
110 * [FELIX-2528] - Potential performance issue in resolver when uses constraint conflict is detected
111 * [FELIX-2529] - In some scenarios the resolver will not backtrack on imported package decisions
112
Karl Pauls82450a22010-06-14 20:04:02 +0000113Changes from 3.0.0 to 3.0.1
114---------------------------
115
116** Bug
117 * [FELIX-2401] - NPE in org.apache.felix.framework.FilterImpl.DictionaryCapability.getAttribute(String)
118
Karl Pauls74d9aca2010-06-06 21:23:05 +0000119Changes from 2.0.5 to 3.0.0
120---------------------------
121** Sub-task
122 * [FELIX-2036] - Improve resolver's generic capability/requirement model
123 * [FELIX-2037] - Improve resolver performance by making solution space searching smarter
124
125** Bug
126 * [FELIX-995] - JRE packages are exported with wrong version
127 * [FELIX-1967] - Freeze finding consistent class space
128 * [FELIX-2080] - Updating bundles when debugging switched on might result in a deadlock with 100% CPU usage
129 * [FELIX-2150] - URLStreamHandlerProxy.setURL may not set query component correctly
130 * [FELIX-2172] - Extremely long resolve stage when running CXF-DOSGi system test
131 * [FELIX-2177] - Fragment bundles not loaded after second start when using autodeploy
132 * [FELIX-2271] - CLONE -NPE "name can't be null" when trying to install a bundle in Felix 2.0.3
133 * [FELIX-2273] - getClassLoader-permission required accessing classes from dynamically loaded class
134 * [FELIX-2281] - Bundle id order affects fragment resolution success
135 * [FELIX-2317] - Possible NPE for jars with null Manifest
136 * [FELIX-2321] - BundleException type should be properly set when installing a duplicate bundle
137 * [FELIX-2332] - Lots of contention on ExtensionManager.openConnection(URL)
138 * [FELIX-2335] - Bundle.loadClass() for system bundle doesn't obey boot delegation
139 * [FELIX-2356] - extension bundle cannot load class from embed jar
140 * [FELIX-2383] - Bundles are restarted during start level change
141 * [FELIX-2392] - Felix framework uses a Java5 method
142
143** Improvement
144 * [FELIX-1210] - Allow jars with missing intermediate entries to be handled as if they were present in Bundle.getEntryPaths
145 * [FELIX-1797] - Customizable Framework startup message
146 * [FELIX-2035] - Reimplement framework resolver
147 * [FELIX-2039] - Reimplement standard OSGi LDAP filter to use new filter solution for resolver
148 * [FELIX-2040] - Modify framework service registry to use resolver's new capability/requirement model
149 * [FELIX-2041] - Look into using generics in framework code
150 * [FELIX-2042] - Use Gogo as the default shell for the framework distribution
151 * [FELIX-2324] - Support execution environment so that OBR works properly
152 * [FELIX-2336] - Variable substitution in configuration files should ignore mismatched delimiters
153
154Changes from 2.0.4 to 2.0.5
155---------------------------
156** Bug
157 * [FELIX-1753] - The start level should check that the bundle still exists before starting it to avoid an ugly exception
158 * [FELIX-2087] - NPE "name can't be null" when trying to install a bundle in Felix 2.0.3
159 * [FELIX-2107] - Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>'
160 * [FELIX-2195] - Using URLDecoder.decode on locations is wrong
161 * [FELIX-2222] - Failure to reinstall a cached bundle will corrupt the bundle cache
162
Karl Pauls1da29612010-02-14 22:08:33 +0000163Changes from 2.0.3 to 2.0.4
164---------------------------
165
166** Bug
167 * [FELIX-2056] - URLHandlersStreamHandler not getting handlers from frameworks that are inside a different classloader
168 * [FELIX-2067] - Fragment bundle ignored silently when the host Bundle-SymbolicName equals import package name
169 * [FELIX-2073] - The System Bundle is not providing WS Addressing
170
171** Improvement
172 * [FELIX-2071] - Missing checks inside ModuleImpl (in Framework) which causes exceptions
173
Karl Pauls6532a9d2010-02-04 22:44:52 +0000174Changes from 2.0.2 to 2.0.3
175---------------------------
176
177** Bug
178 * [FELIX-1838] - PackageAdmin.getExportedPackages() duplicates output for packages with different version
179 * [FELIX-1867] - ModuleImpl diagnoseClassLoadError throw NullPointerException for empty package name in debug mode
180 * [FELIX-1917] - A few minor bugs in the framework found while embedding Felix
181 * [FELIX-1919] - Fragment bundle cannot be linked to its host
182 * [FELIX-1920] - RequiredBundle.getRequiringBundles() incorrectly calculates result
183 * [FELIX-1929] - getStartLevel() always reports requested start level, not active start level
184 * [FELIX-1982] - Documented but uninterpreted felix.cache.* properties
185 * [FELIX-1998] - Use UTF-8 when decoding reference location URLs
186 * [FELIX-2002] - Uninstalled fragments are not properly detached
187
188** Improvement
189 * [FELIX-37] - Implement security for bundle resource URLs
190 * [FELIX-325] - Factor out security checks from the framework/system bundle code
191 * [FELIX-1973] - Implement all required security checks
192
193** New Feature
194 * [FELIX-30] - Implement extension bundles
195 * [FELIX-1991] - Allow boot delegation class loader to be configurable per bundle
196
197
Karl Pauls499184a2009-11-01 19:22:20 +0000198Changes from 2.0.1 to 2.0.2
199---------------------------
200
201** Bug
202 * [FELIX-1754] - Usage of BundleContext.getServiceReferences results in failure to activate components
203 * [FELIX-1782] - Errors during start-up on gnu/classpath based VMs (jamvm, kaffe, cacao) and mika
204 * [FELIX-1795] - Bundle version ignored in Fragment-Host header
205 * [FELIX-1834] - java.io.IOException: No framework context found when embedding felix frameworks as bundles
206
207** Improvement
208 * [FELIX-1534] - Improve fragment merging
209 * [FELIX-1781] - Try to reduce object allocations/usage in resolver algorithm
210 * [FELIX-1783] - Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter)
211
Karl Pauls1be8b552009-10-11 20:26:42 +0000212Changes from 2.0.0 to 2.0.1
213---------------------------
214
215** Bug
216 * [FELIX-1565] - Deadlock UrlHandlers
217 * [FELIX-1573] - Occasional NPE in URLHandlersBundleStreamHandler
218 * [FELIX-1580] - Regression with native library handling
219 * [FELIX-1586] - Framework reports org.osgi.framework.version as 1.3
220 * [FELIX-1600] - ServiceReference.isAssignableTo() always returns true if requesting bundle has no wire
221 * [FELIX-1631] - Implicit bootdelegation causes hang on android
222 * [FELIX-1710] - Resolver still does not discard all partial results when a cyclical dependency fails
223 * [FELIX-1721] - Framework boot delegation has a bug due to extraneous code
224 * [FELIX-1731] - Native library extraction could be improved to help cases where there are dependencies among libraries
225
226** Improvement
227 * [FELIX-1619] - Change the default auto-deploy actions to be install and start only
228 * [FELIX-1625] - Refactor bundle cache to simplify management
229 * [FELIX-1679] - VersionRange class should use finals to be thread safe.
230 * [FELIX-1724] - Various module metadata should be cached
231
232** Task
Karl Pauls1be8b552009-10-11 20:26:42 +0000233 * [FELIX-1617] - Modify framework, main, shell, shell.tui, and obr to depend on official OSGi JAR files
234
Karl Pauls43002282009-09-06 22:01:29 +0000235Changes from 1.8.1 to 2.0.0
236---------------------------
237
238** Bug
239 * [FELIX-893] - Felix fails to start using J9 JVM
240 * [FELIX-905] - Felix needs an RFC 126 FindHook
241 * [FELIX-906] - Felix needs an RFC 126 EventHook
242 * [FELIX-1122] - Extension bundles are not being removed from the bundle list when uninstalled
243 * [FELIX-1123] - System bundle does still not correctly handle (export) package attributes
244 * [FELIX-1124] - ResourceNotFoundException too verbose
245 * [FELIX-1130] - Bundle.getHeaders() returns a Dictionary<java.util.jar.Attribute.Name,String>
246 * [FELIX-1138] - URL Handlers performance regression due to service lookups
247 * [FELIX-1170] - MemoryLeak when stopping and restarting Felix
248 * [FELIX-1187] - BundleContext.ungetService() should return false only if the usage count is zero when the method is invoked
249 * [FELIX-1197] - Bundle Fragments not resolved correctly
250 * [FELIX-1198] - config.properties still refers to old org.osgi.framework.startlevel property
251 * [FELIX-1247] - BundleEvent.UNRESOLVED should be fired during update/uninstall not refresh
252 * [FELIX-1249] - Bundle.findEntries() should search fragments as well as the bundle itself
253 * [FELIX-1254] - Bundle#findEntries does not return resources from fragments
254 * [FELIX-1271] - Improve manifest localization to handle special cases
255 * [FELIX-1272] - Need to special case getResource()/getResources()/loadClass() for fragment bundles
256 * [FELIX-1273] - Bundle.getResources() should return null for a non-existent resource
257 * [FELIX-1277] - Fix Service Hooks Tests failures in RFC 126 TCK
258 * [FELIX-1279] - Framework.waitForStop() does not obey timeout
259 * [FELIX-1280] - Package Admin - getExportedPackages must return null instead of an empty array
260 * [FELIX-1285] - SecureAction captures the calling context incorrectly
261 * [FELIX-1286] - Module class loader should use secure action instead of a privileged block
262 * [FELIX-1287] - System bundle operations from RFC-132 (e.g., init(), start(), stop(), waitForStop()) are using wrong lock object
263 * [FELIX-1288] - System bundle context should be null after stopping the framework
264 * [FELIX-1292] - PackageAdmin.getBundle(Class) should return null if the bundle associated with the passed in class is from another framework
265 * [FELIX-1293] - StringMap used for case insensitive properties does not respect ordering if case sensitivity is changed
266 * [FELIX-1295] - ServiceRegistry increments/decrements service use count after/before getService/ungetService() is called on ServiceFactory
267 * [FELIX-1371] - Automatic parent class loader delegation does not correctly filter calls to Bundle.loadClass()
268 * [FELIX-1397] - Required execution environment verification should happen at resolve time, not install time
269 * [FELIX-1400] - bootdelegation and dynamic-import-packages are accepting invalid patterns
270 * [FELIX-1401] - Manifest localization with fragments not handled correctly
271 * [FELIX-1422] - Resolver does not always discard partial results when a cyclically dependency fails
272 * [FELIX-1435] - Resolver does not always resolve a dynamic import to a fragment export
273 * [FELIX-1527] - R4.2 spec errata now specifies uninstalling a bundle must transition through INSTALLED on its way to UNINSTALLED
274 * [FELIX-1551] - Start level service must synchronously persist bundle start level changes
275 * [FELIX-1556] - Bundle.getResource/s is not able to find resources if the package is not alraedy wired when I use DynamicImport-Package: *
276
277** Improvement
278 * [FELIX-712] - Ability to disable automatic parent classloader delegation
279 * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception
280 * [FELIX-1120] - Enable BundleCache customization
281 * [FELIX-1134] - Add support for native libraries in fragments
282 * [FELIX-1189] - Improve error message in main when there is an error processing auto-install/start bundles
283 * [FELIX-1246] - PackageAdmin.getBundle() is not implemented efficiently
284 * [FELIX-1260] - Make Bundle.findEntries() and Bundle.getEntryPaths() more thread safe
285 * [FELIX-1291] - Implement support for proper return type from Framework.waitForStop()
286 * [FELIX-1300] - Remove legacy bundle cache support when extracting embedded JAR files
287 * [FELIX-1360] - Improve native library matching algorithm (part 2)
288 * [FELIX-1404] - Use provided classes from OSGi R4.2 companion code
289 * [FELIX-1432] - Manifest parser doesn't return import package declarations in order of manifest
290 * [FELIX-1462] - Felix framework launcher should only use standard launching API
291
292** New Feature
293 * [FELIX-33] - Implement system bundle update
294 * [FELIX-749] - Add support for lazy activation of bundles
295 * [FELIX-1193] - Implement org.osgi.framework.bundle.parent from RFC 132
296 * [FELIX-1205] - Update to the latest OSGi R4.2 API
297 * [FELIX-1244] - Add support for ServiceEvent.MODIFIED_ENDMATCH
298 * [FELIX-1250] - Support service exceptions for service factories
299 * [FELIX-1289] - Support for FrameworkUtil.getBundle()
300 * [FELIX-1297] - Implement support for new org.osgi.framework.command.execpermission configuration property
301 * [FELIX-1298] - Implement support for new org.osgi.framework.library.extensions configuration property
302 * [FELIX-1446] - Framework launcher should automatically deploy bundles in bundle directory
303 * [FELIX-1478] - Add shutdown hook to launcher to cleanly shutdown the framework if the process is killed
304
305
306
307
308** Task
309 * [FELIX-1144] - The NOTICE file for Main subproject is not correctly copied into the source JAR
310
311
312** Test
313 * [FELIX-1208] - Need migrate the EventDispatcherTest to newer version of EasyMock
314
Karl Pauls1919aa72009-05-10 21:17:30 +0000315Changes form 1.6.1 to 1.8.0
316---------------------------
317** Bug
318 * [FELIX-1034] - bootdelegation property seems to be matching more packages than desired
319 * [FELIX-1059] - DynamicImport-Package matches more packages than desired
320
321** Improvement
322 * [FELIX-1060] - URLHandlers doesn't support URLStreamHandler.openConnection(proxy,url) method
323
324** New Feature
325 * [FELIX-29] - Implement bundle fragments
326
Karl Pauls962f89f2009-04-26 20:36:08 +0000327Changes from 1.6.0 to 1.6.1
328---------------------------
329** Bug
330 * [FELIX-1027] - deadlock with felix 1.6.0 ?
331 * [FELIX-1028] - NPE in configuration view when running webconsole with Equinox
332 * [FELIX-1033] - Exceptions when Felix is started with security manager
333 * [FELIX-1035] - deadlock observed while using fileinstall to monitor multiple directories
334 * [FELIX-1045] - Felix 1.6.0 fails with ClassCircularityError
335
Karl Pauls62ff7ab2009-03-31 21:06:46 +0000336Changes from 1.4.1 to 1.6.0
337---------------------------
338
339** Bug
340 * [FELIX-737] - Resolver does not correctly discard export when module imports the same package (part 2)
341 * [FELIX-852] - Fragment support is currently limited to directly resolved hosts
342 * [FELIX-869] - SCR throws exception on invalidating a component with a reference to a service that was already unregistered
343 * [FELIX-891] - Bundle lock acquisition should not record lock until it verifies the bundle is lockable
344 * [FELIX-892] - ServiceReferenceImpl improper implementation of equals and hashcode
345 * [FELIX-893] - Felix fails to start using J9 JVM
346 * [FELIX-897] - Empty system package is exported when a semicolon is present in "extra" configuration
347 * [FELIX-902] - Empty bundle.state file produces NPE
348 * [FELIX-910] - Framework may ignore framework startlevel on startup
349 * [FELIX-911] - Potential deadlock between Bundle.stop() and BundleContext.registerService()
350 * [FELIX-915] - PackageAdmin returns null on getBundle(...) with system classes
351 * [FELIX-934] - Bootdelegation bug
352 * [FELIX-947] - Behaviour of startlevel comman doesn't adhere to spec
353 * [FELIX-948] - ServiceReferenceImpl.compareTo should handle other types than integer for service ranking
354 * [FELIX-951] - Deadlock in iPojo when stopping Felix
355 * [FELIX-952] - Exception thrown when unregistering services because the bundle is stopped
356 * [FELIX-953] - Bundle#loadClass sometimes return null instead of throwing a CNFE
357 * [FELIX-961] - 100% CPU looping inside uses calculation
358 * [FELIX-962] - Erroneous class loading delegation to the application launcher classloader in some cases
359 * [FELIX-969] - system bundle does not correctly handle (export) package attributes
360 * [FELIX-971] - Exception thrown in ServiceTracker at shutdown
361 * [FELIX-978] - Resolver does not clean up properly on a failed recursive attempt to resolve
362 * [FELIX-1004] - Extensionmanager openConnection(URL) method should be public
363 * [FELIX-1005] - Strange list of imported packages returned by the package admin
364
365** Improvement
366 * [FELIX-681] - Modify daemon threads to catch all exceptions and log them to avoid premature thread death
367 * [FELIX-851] - Refactor the module abstraction layer to align more closely to OSGi concepts
368 * [FELIX-872] - JarContent swallows exception when opening manifest, it should log it
369 * [FELIX-883] - JarContent logs and then swallows exceptions when reading from JAR file, should probably throw an exception
370 * [FELIX-894] - Loosen locking when starting/stopping/uninstalling a bundle by firing event without holding a lock
371 * [FELIX-908] - Unsynchronize access to bundle state inside BundleInfo by making the variable volatile
372
Karl Pauls1be3b032008-12-20 16:27:49 +0000373Changes from 1.4.0 to 1.4.1
374---------------------------
375
376* [2008-12-19] Refactor the URLHandlers implementation to fix a possible
377 Linkage-Error when running embedded inside tomcat. Furthermore, make it possible
378 to dynamically set a SecurityManager, change the url we add to the framework
379 classloader to fix issues with rmi and make sure we restore the previous URLStreamHandlerFactory
380 after stopping. (FELIX-842, FELIX-837, FELIX-844, FELIX-827)
381* [2008-12-19] Add missing javax.security.cert in JRE 1.4 and 1.5. (FELIX-854)
382* [2008-12-19] Improve framework internal locking protocol.
383* [2008-12-18] Fixed an issue where bundles with a non-existing native library
384 would not be removed correctly. (FELIX-835)
385* [2008-11-21] Throw an exception when there is an attempt to start or stop a
386 fragment, as per the spec. (FELIX-820)
387* [2008-11-20] Fixed a bug during shutdown where uninstalled fragments are not
388 properly closed. (FELIX-819)
389* [2008-11-14] Added partial support for new service registry hooks as proposed
390 for OSGi R4.2; currently, only listener hooks are supported. (FELIX-804)
391* [2008-11-08] Fixed Felix' delegation hack so that it correctly delegates to
392 the parent class loader for resources as appropriate; previously it was always
393 delegating for class loading, which was incorrect. (FELIX-808)
394
Karl Pauls89beb9b2008-11-06 16:17:00 +0000395Changes from 1.2.2 to 1.4.0
396---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +0000397
Karl Pauls89beb9b2008-11-06 16:17:00 +0000398* [2008-11-05] URLStreamHandlerService and ContentHandlerService override
399 built-in handlers and make it possible to use URLHandlers when extending the
400 Felix class. (FELIX-756, FELIX-800)
401* [2008-11-04] Implement ServiceReference.compareTo() method. (FELIX-799)
402* [2008-10-31] Fix some visibility issues in the LDAP operators which could
403 result in incorrect toString values. (FELIX-765)
404* [2008-10-31] Fixed spec compliance issues around getting a service reference
405 from an invalid registration and throwing an exception when there are
406 duplicate property keys. (FELIX-798)
407* [2008-10-21] Fixed an issue with extension bundles which would be installed
408 as fragments and fail to install extension bundles if they have incomplete
409 metadata. (FELIX-770)
410* [2008-10-21] Fix a possible deadlock in URLHandlers. (FELIX-748)
411* [2008-10-16] Modified framework to have default values for the system
412 packages property, which also required modifying main to no longer expect to
413 set it. Now it is possible to start Felix with no configuration properties.
414 (FELIX-753)
415* [2008-10-16] Update felix to work with the 1.0.0-rc1 version of the android
416 sdk.
417* [2008-10-15] Implemented remaining PackageAdmin methods from R4. (FELIX-35)
418* [2008-10-15] Modified resolver to correctly mark fragment modules as resolved.
419 (FELIX-777)
420* [2008-10-15] Modified the resolver to longer consider uninstalled fragments
421 and hosts when resolving dependencies; this required a new "stale" flag on
422 modules that gets set when their associated bundle is uninstalled. (FELIX-776)
423* [2008-10-15] Modified the resolver to sort candidates when resolving
424 Require-Bundle dependencies. (FELIX-775)
425* [2008-10-14] Modified ExportedPackage.getImportingBundles() to include
426 bundles requiring the exporting bundle, in addition to those bundles
427 importing the package. Also tried to simplify dependency management code
428 by separating it out. (FELIX-764)
429* [2008-10-14] Fix a NullPointerException in SecureAction when a
430 SecurityManager is used by keeping pointers on the local stack. (FELIX-766)
431* [2008-10-13] Use System.gc to allow to update and uninstall bundles with
432 native libs on Windows. (FELIX-733)
433* [2008-10-10] Set the activator to null on Bundle.stop() to allow for earlier
434 garbage collection. (FELIX-762)
435* [2008-10-10] Implements support for flushing the cache on framework
436 initialization. (FELIX-755)
437* [2008-10-10] Improve exception messages. (FELIX-750)
438* [2008-10-09] Modified the bundle cache to no longer have profiles. (FELIX-754)
439* [2008-10-08] Modified the Felix API to aligned with the proposed standard
440 OSGi framework API. The framework instance can now be stopped and restarted.
441 (FELIX-753)
442* [2008-09-29] Support transiently starting/stopping bundles. (FELIX-713)
443* [2008-09-25] Correctly discard exported packages when a bundle is chosen to
444 import a package it exports. (FELIX-736)
445* [2008-09-24] Clearly distinguish between "resolved" and "unresolved"
446 capabilities, which is necessary since "resolved" capabilities have higher
447 priority than "unresolved" ones. (FELIX-730)
448* [2008-09-24] Do not bootdelegate in the case where Bundle.loadClass() has
449 been used. (FELIX-712)
450* [2008-09-23] Improve decoding of reference URLs. (FELIX-731)
451* [2008-09-23] For completeness, added symbolic names to framework and main.
452* [2008-09-17] Improve gc by fixing an issue with StartLevel and PackageAdmin.
453 (FELIX-728)
454* [2008-09-15] Fix an issue with Require-Bundle not aggregating packages
455 correctly. (FELIX-722)
456* [2008-09-15] Fixed a bug where class loader delegation for dynamic imports
457 was happening when it shouldn't. (FELIX-724)
458* [2008-09-12] Added a configuration property to determine whether installing a
459 fragment that uses unimplemented features throws an exception or logs a
460 warning. (FELIX-725)
461* [2008-09-12] Removed some experimental code for "implicit requirements",
462 since it was no longer needed.
463* [2008-09-12] Fix some visibility issues within the LDAP filter. (FELIX-721)
464
465Changes from 1.2.1 to 1.2.2
466---------------------------
Karl Pauls1be3b032008-12-20 16:27:49 +0000467
Karl Pauls89beb9b2008-11-06 16:17:00 +0000468* [2008-10-14] Fixed a NullPointer exception that could happen when
469 running with a SecurityManager as a backport of FELIX-766.
470
Karl Paulsfa99d5e2008-09-07 19:54:09 +0000471Changes from 1.2.0 to 1.2.1
472---------------------------
473
474* [2008-09-05] Fixed a performance regression that was caused by uncached
475 access to the bundle manifest headers. (FELIX-711)
476* [2008-09-03] Fixed a bug in calculating the system bundle's exported
477 packages which added a null export package.
478
Karl Pauls30d88e12008-08-31 22:15:39 +0000479Changes from 1.0.4 to 1.2.0
480---------------------------
481
482* [2008-08-29] Support JAR-wide manifest package metadata. (FELIX-682)
483* [2008-08-29] Throw an exception when installing a fragment that uses
484 features that we do not support.
485* [2008-08-20] Improve error reporting when loading bundle classes using
486 Bundle.loadClass.
487* [2008-08-16] Fix attribute checking when resolving dynamic imports.
488 (FELIX-676)
489* [2008-08-08] Implement singleton bundle support. (FELIX-102)
490* [2008-08-06] Default to current security policy if no security extension is
491 installed in order to make Subject.doAs work. (FELIX-654)
492* [2008-08-04] Return Bundle.getLastModified() for bundle URLs
493 lastModified(). (FELIX-582)
494* [2008-08-04] Improve handling of improper resource URLs. (FELIX-577)
495* [2008-08-01] Add necessary stub methods to implement new R4.1 methods.
496 (FELIX-595)
497* [2008-08-01] Applied patch to properly return symbolic name when it has
498 parameters. (FELIX-650)
499* [2008-07-25] Fix some rollback issues after a bundle update throws an
500 exception. (FELIX-647)
501* [2008-07-23] Modified manifest parser to be more lenient. (FELIX-641)
502* [2008-07-07] Add support for the standard symbolic name for the system
503 bundle. (FELIX-602)
504* [2008-06-01] Add initial fragment support for extending the host bundle
505 class path. (FELIX-29, FELIX-656)
506
Karl Paulsecf4cc82008-04-21 23:32:57 +0000507Changes from 1.0.3 to 1.0.4
508___________________________
509
510* [2008-04-18] Check that the returned object from a service factory is an
511 instance of all classes named when the service was registered. (FELIX-540)
512* [2008-04-13] Fix an issue when logging messages while holding framework
513 internal locks that could lead to a deadlock. For now we just disable
514 logging to log services inside the framework. (FELIX-536)
515* [2008-04-13] Implemented various small performance improvments e.g.,
516 we now cache filters and create an index for objectclass to improve
517 service lookup performance and don't use the BundleInfo to get the
518 bundle id but the BundleImpl directly. Furthermore, we added an index to
519 get bundles by id.
520* [2008-04-04] Fix an NoClassDefFoundError when trying to query the
521 framework classloader for whether a class is available or not.
522* [2008-03-19] Don't try to resolve extension bundles and fix a
523 classcastexception that could happen if more then one framework is around
524 and both have extensions installed. Furthermore, make extension bundles
525 use the system bundle context.
526* [2008-03-07] Bundle.getResource does now check for AdminPermission.
527 (FELIX-150)
528* [2008-03-06] Make urlhandlers work when a handler factory is already set.
529 Furthermore, it is now possible to have more then one framework running
530 in more then one classloader. (FELIX-38).
531* [2008-03-05] Make LDAP filter reentrant.
532* [2008-02-29] Refactored the IContent abstraction from the module loader
533 layer to provide more generic access to the content of the module. This
534 makes it possible that a bundle's class path could span multiple module's,
535 which will be necessary for fragments. (FELIX-29)
536* [2008-02-27] Applied a patch to disable the class loading diagnostic message
537 when the logger is not at the DEBUG level. (FELIX-500)
538* [2008-02-15] Modified the service registry to use more fine-grained locking
539 to avoid callbacks to service factories while holding locks. (FELIX-489)
540
Karl Pauls7db0d882008-01-28 09:37:24 +0000541Changes from 1.0.1 to 1.0.3
Karl Paulsc0335862008-01-27 19:49:56 +0000542---------------------------
543
544* [2008-01-27] Moved framework docs to main, since the launcher examples now
545 depend on main for the auto-property handling.
546* [2008-01-25] Applied patches to improve how Felix finds resources when
547 getResources() is called. (FELIX-466, FELIX-467)
548* [2008-01-25] Make FilterImpl.toString() add escape characters where needed.
549 (FELIX-471)
550* [2008-01-16] Fix a NPE on framework restart when extension bundles are
551 installed.
552* [2008-01-15] Try to fix a potential visibility issue on loading a class
553 form a bundle where it seems to be possible that we create two classloaders
554 instead of one.
555* [2008-01-15] Modified boot delegation to not terminate when delegating to
556 parent class loader for non-java.* packages. (FELIX-463)
557* [2008-01-04] Fix some issues related to directories on the bundle class
558 path. Specifically, leading slashes created an issue and are now stripped
559 and entries were not being properly filtered when enumerating the contents
560 of a class path directory. (FELIX-426)
561* [2007-12-20] Modified logger to have all of its public methods be final to
562 avoid it from being extended in undesired ways via the constructor supplied
563 logger. (FELIX-428)
564* [2007-12-20] The TCK has changed to verify that bundles do not depend on
565 themselves, so we filter that case now.
566* [2007-12-20] Applied patch from Guillaume Nodet to properly fire a framework
567 error event only when a bundle cannot be resolved. (FELIX-441)
568* [2007-12-19] Modified framework to accept a Logger instance so that host
569 applications can do custom logging until the log service arrives. (FELIX-428)
570* [2007-12-19] Add support for loading bundles on Google Android (FELIX-440).
571* [2007-12-18] Improve native code loading - bundle installation will now
572 fail in case a native library is not in the jar and we only use the first
573 library of a given name. Furthermore, we now support .dylib extensions on
574 the mac as well as others; should make it possible to use .netmodules as
575 well. (FELIX-439)
576* [2007-12-17] Make the win32 alias match any version of windows for native
577 clauses. (FELIX-438)
578* [2007-12-14] Removed auto-property processing out of the framework and
579 into the default launcher, i.e, main. (FELIX-393)
580* [2007-12-13] Fix a StackOverflowError in URLHandlers.createStreamHandler()
581 when creating URL on jamvm and Mika. This patch resolves an unfortunate
582 interaction between our ExtensionManager and the URLHandlers by making the
583 URLHandlers aware of the extension protocol. Pretty much like we do already
584 for the bundle protocol. (FELIX-435)
585* [2007-11-26] Fix a small oversight in the extension manager that could lead
586 to a null pointer exception and save some memory by creating less objects.
587* [2007-11-26] Degrate to version 0.0.0 if we can not find the Felix.properties
588 for some reason and avoid a null pointer in this case.
589* [2007-11-08] Reorganized usage count methods to better handle null
590 reference checking in response to Karl Pauls seeing an NPE when trying to
591 get a service that was already unregistered while shutting down the
592 framework.
593* [2007-11-06] Added a simple check to detect and work around a bug in J9.
594 (FELIX-416)
595* [2007-10-30] Change how the extension manager url stream handler handles
596 request to the root path in order to make some tomcat issue go away.
597 (FELIX-414)
598* [2007-10-26] Added support for "/" bundle resources as requested. (FELIX-383)
599* [2007-10-24] Use system bundle when firing a framework error event when an
600 install error occurs.
601* [2007-10-22] Fix a NPE when getEntryPaths is called on the system bundle.
602 (FELIX-394)
603* [2007-10-16] Modifies bundle resource URL handling such that if a resource
604 URL points to a resource that does not exist, a bundle class path search
605 for the resource will be instigated and if any matching resource is found,
606 that one will be used instead. (FELIX-383)
607* [2007-10-10] Auto-property handling now installs bundles into the default
608 bundle start level if a start level is not specified. (FELIX-359)
609* [2007-10-08] Overwrite the URLStreamHandler.getHostAddress(URL) in the
610 ExtensionManager to immediately return null to prevent DNS lookup.
611 (FELIX-388)
612* [2007-09-30] Resolved a concurrency issue that could result in the same
613 bundle being resolved more than once; also tried to simplify locking in
614 the core search policy implementation. (FELIX-381)
615
Karl Pauls305c9642007-09-16 20:46:04 +0000616Changes from 1.0.0 to 1.0.1
617---------------------------
618
619* [2007-07-23] Fixed a bug in the framework shutdown process which was
620 causing threads calling Felix.stopAndWait() to not get notified that
621 the framework had shutdown. (FELIX-329)
622* [2007-08-15] Fixed a bug in the LDAP filter which was not thread safe
623 on execution. (FELIX-338)
624* [2007-08-17] Added support for persistent last used bundle ID to avoid
625 re-use of bundle identifiers. (FELIX-339)
626* [2007-08-23] Modified BundleImpl.getHeaders(Locale) to accept a null
627 locale. (FELIX-346)
628* [2007-09-11] Added support to handle external termination of Felix
629 which was not handled or detected and prevented a restart of future
630 Felix instances in the same VM. (FELIX-363)
631* [2007-09-12] Add support for Collection values in the LDAP filter to
632 match the 4.1 spec.
633* [2007-09-12] Fixed a bug in the LDAP filter where attributes where
634 limited to [a-zA-Z ] so didn't allow for e.g., numbers. (FELIX-361)
635* [2007-09-13] Enable support for exporting the same package more than
636 once (FELIX-101).
637* [2007-09-13] Returns the system bundle from a call to
638 PackageAdmin.getBundle(Class) in case the class comes from the
639 classloader (or one of its parents) that loaded Felix and the system
640 bundle exports the package.
641* [2007-09-16] Fixed a bug in class space filtering in the service registry
642 that could result in class cast exceptions for service clients.
643* [2007-09-16] Fixed a bug that prevented extension bundle exports to be
644 usable.
645
Richard S. Hall2cd5bed2007-07-16 20:32:41 +0000646Changes from 0.8.0-incubator to 1.0.0
647-------------------------------------
648
649* [2007-01-18] Added support for bundle header localization. (FELIX-27)
650* [2007-01-22] Modified framework resolver to support a generic
651 capability/requirement model.
652* [2007-01-22] Reorganized and centralized manifest parsing code and added
653 support for resolver's generic capability/requirement model. (FELIX-98)
654* [2007-01-22] Improved native library naming normalization. (FELIX-26)
655* [2007-01-23] No longer eagerly resolving classes loaded from modules
656 since this was causing verification errors with IBM J9.
657* [2007-01-25] Added some support for execution environment checking.
658 (FELIX-23)
659* [2007-01-29] Added support for getAllServiceReferences(). (FELIX-32)
660* [2007-01-31] Added Require-Bundle support to resolve using the generic
661 capability/requirement model of the resolver. (FELIX-28)
662* [2007-02-05] Fixed a bug in processor type normalization for x86-64
663 processors.
664* [2007-02-09] The resolver previously ignored packages that were pending
665 removal when resolving new bundles, now it does not.
666* [2007-02-09] Bundles are automatically refreshed when updated/uninstalled
667 if none of their exported packages are in use.
668* [2007-02-13] Added support for extension bundles. (FELIX-30)
669* [2007-03-02] Added a Bundle.getBundleContext() method until actual
670 support for OSGi R4.1.
671* [2007-04-26] Modified Bundle.findEntries() to return URLs to directory
672 entries as well as file entries.
673* [2007-05-06] Modified LDAP evaluator to special case the fact that
674 BigDecimal is not available in Foundation profile.
675* [2007-05-21] Made some performance improvements in LDAP evaluation.
676* [2007-05-22] Modified JAR file to include Service Tracker package.
677* [2007-05-22] Improved concurrency handling around checking for already
678 loaded classes and defining classes.
679* [2007-06-05] Modified resource URLs to use port number rather than
680 prepend information to the resource path.
681* [2007-06-13] Improved dynamic imports to cycle through all available
682 candidates when checking for class space consistency.
683* [2007-06-18] Improved service registry filtering based on class versions
684 to allow a bundle to register a service for a different version of class
685 that it can access.
686* [2007-06-21] Modified our "last ditch effort" to guess when to delegate
687 to the system bundle to make it a little more robust.
688* [2007-06-29] Fixed a bug in EventDispatcher that was causing asynchronous
689 events to not be fired after stopping the framework instance and creating
690 a new instance. (FELIX-314)
691* [2007-07-03] Fixed a bug in EventDispatcher that would not correctly
692 update a listener when it implemented multiple listener interfaces.
693* [2007-07-04] Modified Felix framework class to implement the Bundle
694 interface to improve the startup/shutdown sequence and to provide a
695 simplified API for creating framework instances.
696* [2007-07-11] Removed the PropertyResolver-related classes and now only
697 use Maps for configuration properties. (FELIX-324)