Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-16Add api_filters for issues flagged in OSGi APIY20170617-1235I20170618-2355I20170618-2000I20170617-2000I20170616-2000Thomas Watson3-2/+224
Change-Id: I542dd7195b4156d856997d81780acd06006cc346 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 517152 - [osgi R7] Implement the default default log level launchAnjum Fatima5-19/+34
configuration property Change-Id: I2b20561ee208bee75c3080860b6fc7c8f602b2ea Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2017-06-16Revert "Bug 515869 - [osgi R7] Clarification on what a null value meansAnjum Fatima1-55/+19
for" This reverts commit 791edd6dda59767c891181046c119654db57a9f8. Change-Id: I14bda5938ab465760e91ff52ff05596c297d81a6 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2017-06-16Update OSGi Log Service API to the latest for R7Thomas Watson3-27/+65
2017-06-16Bug 515869 - [osgi R7] Clarification on what a null value means forAnjum Fatima1-19/+55
LoggerAdmin Change-Id: I2ecf6bc6e10296728e45cda1005d19d055e92f6d Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2017-06-16Fix the osgi.service capabilitiesThomas Watson1-20/+20
- remove whitespace from List<String> attributes - add proper uses directives Change-Id: I59fdda11010b651ff62c50429cf856f38f9e01e1 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Add config admin support to LoggerAdminThomas Watson4-13/+298
Change-Id: I6dbd9e448ab7657ca40bb959518300ac2ea0f33f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16resolver: add ResolveContext getSubstitutionWires methodThomas Watson7-104/+97
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com> Change-Id: I44f6400ec2b37603299bed60750383177f968ada
2017-06-16dto: Update org.osgi.dto package to 1.1BJ Hargrave3-14/+16
DTO 1.1 adds support for enum and Version field types. Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-06-16framework: Define service.changecount service propertyBJ Hargrave1-1/+18
This service property can be used by a service to announce changes to some data provided by the service. Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-06-16service registry: Add new ServiceReference.getProperties() methodBJ Hargrave3-1/+81
OSGi added a new getProperties() method to ServiceReference so that a copy of the service’s properties can be obtained.
2017-06-16Add uses directive to org.osgi.service.log.admin packageThomas Watson1-1/+1
Change-Id: I1714fe269f0965373b4e405b4fe42c8e7317ad40 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Update framework API to the latest for R7.Thomas Watson55-124/+140
Change-Id: I6c9d481175591949ba2791dc4000fb6be5639abb Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Clean up after move to Java 7 in OSGi R7 implementationThomas Watson7-14/+15
Change-Id: I7849a613e5ff92674374924614730a47fa452e37 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 492825 - [osgi R7] Resolver specification updates for version 1.1Thomas Watson8-70/+144
Add onCancel support Change-Id: I0e46d80bb47a044fa9d1087515b550fc2cf0773b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 492825 - [osgi R7] Resolver specification updates for version 1.1Thomas Watson10-98/+169
Implement resovlveDynamic and findRelatedResources Change-Id: I0841246411734e191b62d24a10f7918f904f932d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Add org.osgi.service.log.LoggerFactory to osgi.service capabilityThomas Watson1-1/+1
Change-Id: I3faefa24f9463c1d9838a3507f522f4b16c46271 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 492043 - [osgi R7] Implement FrameworkEvent STOPPED_SYSTEM_REFRESHED eventThomas Watson35-84/+159
2017-06-16Bug 486950 - [osgi R7] log service is being updatedThomas Watson2-0/+35
Implement new getLogger method that takes a bundle Change-Id: Ibd50163c2390c5853274cfa72662fd775c7f02ec Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 486950 - [osgi R7] log service is being updatedThomas Watson7-34/+53
- fix bugs around formatting and LoggerAdmin Change-Id: I3c183c6996b9f05b206f972b5a63e6202de4c282 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 486950 - [osgi R7] log service is being updatedThomas Watson26-115/+909
- Add support for LoggerAdmin Change-Id: Iecd2675cfb7ddf7f7a10fbaa8a7f35e4f59d5615 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 487688 - [osgi R7] Implement FrameworkWiringDTOThomas Watson7-13/+104
2017-06-16[bug 486950] [osgi R7] log service is being updatedThomas Watson16-164/+1137
Initial implementation. Includes Java 6/7 aspects only (e.g., no LogStream, etc.).
2017-06-16Bug 486947: Use count objects returned by PrototypeServiceFactoryBJ Hargrave1-9/+23
For OSGi R6 the framework does not use count the 'same' objects that get returned by a PrototypeServiceFactory. When a bundle calls ServiceObjects.getService() multiple times a PrototypeServiceFactory may return the 'same' object multiple times. The bundle then may call ServiceObjects.ungetService(S) with the 'same' service object multiple times. Currently the framework implementation will throw an IllegalArgumentException on the second call to ungetService(S) if the 'same' service object is passed in more than once. This is because we do not use count the service object for ServiceObjects.getService() The core expert group has decided the framework must use count the service objects returned by ServiceObjects.getService() and decrement the use count on calls to ServiceObjects.ungetService(S).
2017-06-16Bug 486941 - [osgi R7] Framework extensions may require capabilitiesThomas Watson4-74/+134
from host or other attached fragments Change-Id: I0b893396db9f0644c6f7e578f26a7971e45e7448 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-12Bug 516592 - LogReaderService.getLog() is reverse order of javadoc I20170516-0800I20170515-2000I20170515-0910I20170515-0800I20170514-2000I20170514-1120Anjum Fatima1-2/+2
Changed storeEntry() to store the history in a way that it removes the old entries when it is full. Updated testLogHistory1() to account the change done in implementation Change-Id: I3455a0cf23368c19c20d52659491b21a581c3a04 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2017-05-10Bug 516069 - reflection code to create permission objects should beI20170510-2000Thomas Watson1-4/+13
protected with doPriv Need to protect ClassLoaderHook::classLoaderCreated with doPriv also. Change-Id: I8160a30acf938171b563a2853130f99f645a47c5 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-05-02Bug 516069 - reflection code to create permission objects should beI20170502-2000Thomas Watson1-6/+18
protected with doPriv Change-Id: Id08f3a33f835b2eb1e9ad355126a540307588be4 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-04-27Bug 515920 - "Windows Server 2016" to osname.aliases I20170428-0550I20170428-0445I20170427-2000Thomas Watson2-1/+8
Change-Id: I07d5537eddb796db7a434a3616bc50acdc51b8ec Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-04-14Bug 515286 - Init of FrameworkExtensionInstaller fails with JDK9Thomas Watson1-2/+7
Change-Id: Id0544936abf98b465ea8cd8bf1558d7c19d6e379 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-04-05Bug 514802 - Return empty fragment constant when fragmentWiresKarsten Thoms1-1/+1
collection is empty Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2017-04-04Bug 508357 - Native library is not loaded from bundle on SolarisI20170405-0300I20170405-0200I20170405-0130I20170404-2000Thomas Watson1-2/+2
Make SunOS and Solaris alias each other. Change-Id: Ic40e4d7888530fa328eaea2460db45225a393a67 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-03-30Revert "Bug 502220 - Default workspace is ${launcher.name}-workspace"I20170402-2000I20170401-2000I20170331-2000I20170330-2000Thomas Watson1-15/+2
This reverts commit 60a423633ebd7246d33e8f95eb642e1dbeb2ea07. Change-Id: I7aad1e0ff3d3e870595fe4fa3883451dce434b89
2017-03-29Bug 514411 - Latest build has warnings in EventListeners::removeListenerY20170330-1000I20170329-2000Thomas Watson1-2/+2
Change-Id: I88660db08e1f84674308b1b6361b4f19edefe414 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-03-29Bug 502220 - Default workspace is ${launcher.name}-workspaceMickael Istria1-2/+15
Change-Id: If2d885a7145222e626813e3b29a395f9adef46b3 Signed-off-by: Mickael Istria <mistria@redhat.com>
2017-03-28Bug 514149 - [resolver] issues resolving with substitutable exportsI20170328-2000Thomas Watson2-110/+125
Additional fixes that need to handle blame chains that are more than two. Need to permute from both ends of the blame chain in order to correctly traverse the possible solutions. Otherwise the valid solution may be overlooked. Change-Id: I9fc8ffec2af9e4a242ca450fafce65edcbddebdb Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-03-27Bug 514149 - [resolver] issues resolving with substitutable exportsThomas Watson2-3/+58
Fix by checking if removing a candidate will substitute the only provider which satisfies a dependency. Change-Id: Iae05477ce7ddef9ee036ac8e7cc5000c816d042f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-03-02Bug 512707 - Add support for recursive class processingY20170321-2315Y20170321-0120Y20170316-0500Y20170309-1000S4_7_0_M6I20170327-2000I20170326-2000I20170325-2000I20170324-2000I20170323-2000I20170322-2000I20170321-2000I20170320-2000I20170319-2000I20170318-2000I20170317-2000I20170316-2000I20170315-2000I20170315-0500I20170314-2000I20170313-2000I20170312-2000I20170311-2000I20170310-2000I20170308-2000I20170308-0800I20170307-2000I20170307-0800I20170307-0610I20170307-0450I20170307-0420I20170307-0410I20170307-0150I20170306-2000I20170306-0800I20170305-2000I20170304-2000I20170303-2000I20170302-2000Thomas Watson12-63/+230
Change-Id: I3223216586d1cb5bf399132b26293cf0e787377f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-02-09Bug 511593 - Issue resolving split packagesY20170223-1000Y20170216-1515Y20170216-1450Y20170216-1000I20170228-0330I20170228-0240I20170227-2000I20170226-2000I20170225-2000I20170224-2000I20170223-2000I20170222-2000I20170221-2000I20170220-2000I20170219-2000I20170218-2000I20170217-2000I20170216-2000I20170216-0140I20170215-2000I20170214-2200I20170214-2000I20170213-2000I20170212-2000I20170211-2000I20170210-2000I20170210-0615I20170210-0600I20170210-0550I20170210-0530I20170209-2000Thomas Watson5-46/+29
Change solution to avoid introducing new API on ModuleWiring. Change-Id: I1de1dd5ce55c05b04f9eaa699606ce70ba22ec89 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-02-09Bug 511593 - Issue resolving split packagesThomas Watson1-0/+11
Add javadoc for the getSubstitutionWires method Change-Id: I10f81b743365eda2a38b8a08e4e8547612a90e70 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-02-03Bug 511268 - Tracing should honour -consoleLogY20170209-1000I20170208-2000I20170208-0700I20170207-2000I20170206-2000Thomas Watson1-13/+26
Change-Id: Ib7ce9ab914f96f1ec739c8e88be8aaf4b6c269f2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-02-03Bug 511593 - Issue resolving split packagesI20170205-2000I20170204-2000I20170203-2000Thomas Watson3-8/+140
The resolver implementation fix. Change-Id: I71384aec4decc0a7b009c5d48815ade3a8a4c010 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-01-18Restore Headers temporarily.Y20170202-1000Y20170126-1700Y20170126-1000Y20170119-1000S4_7_0_M5I20170202-2000I20170201-2000I20170131-2000I20170130-2000I20170130-0600I20170129-2000I20170128-2000I20170127-2200I20170127-2000I20170126-1030I20170126-0505I20170125-2000I20170125-0800I20170124-2000I20170124-0800I20170123-2000I20170123-0830I20170123-0800I20170122-2000I20170121-2000I20170121-0950I20170120-2000I20170119-2000I20170119-1010I20170119-0345I20170118-2000Thomas Watson1-0/+338
Change-Id: I202447a6279febe848c5db0b2c301650b06274f6 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-01-18Bug 510641 - Remove old Headers implementation.Thomas Watson1-338/+0
Change-Id: Ibc09bc478f68516c692c95181081a08781024ed5 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-01-18Bug 510641 - Remove CaseInsensitiveDictionaryMap.putIfAbsent methodBJ Hargrave2-64/+18
We don’t actually need it since put can be used in the constructor when checking for case-variant key issues. Removing putIfAbsent then simplifies some implementation. Change-Id: Id8ae7a2b90b0edd3662f8697d64734e314e20cf8 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-01-18Bug 510641 - Alternate CaseInsentiveDictionaryMap implementationBJ Hargrave1-34/+255
This implementation should provide for O(1) lookup even for String key misses. This is done by wrapping String keys in a case-insensitive wrapper with each string key wrapped by a new wrapper object. Change-Id: I083a5141764c3c1108ff72afcb76918e27296bd4 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-01-18Bug 510641 - service registry: Rewrite ServicePropertiesBJ Hargrave4-119/+98
The class is now based on CaseInsensitiveDictionaryMap (instead of Headers). Once created, the service properties are internally represented as a Map. Change-Id: I3041237d73e36a533c6d73985d75fb680ad129d7 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-01-18Bug 510641 - service registry: Use StringBuilder instead of StringBufferBJ Hargrave2-4/+4
Change-Id: I222c6a298d1ad5fb3aa19c3f122f5c4d8dd97636 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-01-18Bug 510641 - Covert use of Headers to CaseInsensitiveDictionaryMapBJ Hargrave4-29/+29
Change-Id: If786a84bf13039cf92204dad8b0afe4abc75c9af Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
2017-01-18Bug 510641 - headers: Replace Headers with CaseInsensitiveDictionaryMapBJ Hargrave2-1/+413
The CaseInsensitiveDictionaryMap class uses an internal map object. This allows for O(1) lookup for non-String keys and for String keys if the original key case is used; and for O(log n) if a String case-variant is used. The map implementation is complete. Change-Id: I43a4b96d2dca4b4057762f22f98d17db923d67aa Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>

Back to the top