Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-06-06Bug 532194 - Use BundlePermissions for the EvaluationCacheKeyThomas Watson2-5/+5
Also check for null Conditions from a row and update testcase to handle when multiple conditions are used in a single row. If there is a mix of mutable and immutable conditions then the satisfied conditions are nulled out to avoid calling them again on future permission checkes. The method checkMutable needs to handle the null values. Change-Id: I9adf9cf54bfe571d53049d48ffb44e76bc78f121 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-06-06Bug 532194 - Format using project settingsThomas Watson4-84/+116
Change-Id: Ifb8e4fed844b3bc83bdc90572d04f7e5eba59aa5 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-06-06Bug 532194 - Added permission evaluation cache to increase performanceScott Tustison4-84/+239
Increases performance when using many bundles and permission rows. Also removes slow down as more bundles/rows are added to the system. Change-Id: I31f2ee701654dc9e7d1598570bd04241126cd4da Signed-off-by: Scott Tustison <scott.tustison@gmail.com>
2018-04-09Bug 533386 - [framework] "Events.Service" log events do not contain aI20180503-2000I20180503-0740I20180502-2000I20180502-0100I20180501-2000I20180430-2000I20180430-0715I20180429-2000I20180428-2020I20180428-1500I20180427-2000I20180426-2000I20180426-0500I20180425-2000I20180425-1705I20180425-1650I20180425-1455I20180425-0910I20180425-0725I20180425-0505I20180425-0250I20180424-2000I20180423-2000I20180423-0655I20180423-0640I20180422-2000I20180421-1500I20180420-2000I20180419-2000I20180418-2000I20180417-2000I20180416-2000I20180416-0305I20180415-2000I20180414-1500I20180413-2000I20180412-2000I20180411-2000I20180411-0735I20180411-0530I20180410-2000I20180409-2000Thomas Watson1-1/+1
service reference Change-Id: Ieacda0ecbb60502002dbd0ca2cb64ad0db6b81bf Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-03-27Bug 532255 - ContentHandlerFactoryImpl fails to load sun.net.www.contentI20180401-2000I20180331-1500I20180330-2235I20180330-2000I20180329-2000I20180329-0000I20180328-2000I20180327-2000Thomas Watson1-3/+7
on Java 9 Change-Id: Ia1becb00af4cf117ad6fea3f754b8354e53b6fec Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-02-16Bug 531268 - java.lang.RuntimeException: Must not re-enter openLock inI20180219-2000I20180218-2000I20180217-1500I20180216-2000Thomas Watson5-139/+178
getZipFile. Remove the restriction on re-entering open lock Change-Id: I7ff625fa7993b58813b4a17f21637931037ac418 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-02-14Bug 531123 - Improve queue management for bundle file closer threadI20180216-0415I20180215-2000I20180214-2000Thomas Watson3-163/+255
Change-Id: I785026d054069b194a41ddb8dbbe67df2d3c0fae Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-02-09Bug 530967 - Delay in MRUBundleFileList causes performance issuesI20180213-2000I20180213-0125I20180212-2000I20180211-2000I20180210-1500Thomas Watson1-3/+9
Change-Id: If456680c149081e41c8065e6b02154ec531a10dc Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-02-07Bug 530591 - Fixed typo in temp file nameI20180209-2000I20180208-2000I20180207-2000Karsten Thoms1-1/+1
Change-Id: I0d5606893d660ca20d28b85429114c22fe23166e Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2018-01-10Bug 529639 Avoid extra sorts on start-level changesI20180117-2000I20180116-2000I20180115-2000I20180114-2000I20180113-1500I20180112-2000I20180111-2000I20180111-0530I20180110-2000Thomas Watson1-10/+58
Check the timestamp of the module database, if it has not changed do not resort the modules each active framework start-level change. Change-Id: I7b75999e72bbef1479d7143c08a92b456c7c6ef0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2018-01-10Bug 529456 - [osgi R7] Support for importing java.* packagesAnjum Fatima2-8/+29
Change-Id: Ie5b096731534c2416219504d55347690681808f2 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-15Bug 528422 - [osgi R7] Support for Multi-Release jarsI20180101-2000I20171231-2000I20171230-1500I20171229-2000I20171228-2000I20171227-2000I20171226-2000I20171225-2000I20171224-2000I20171223-1500I20171222-2000I20171221-2000I20171220-2000I20171219-2000I20171218-2000I20171217-2000I20171216-1500I20171215-2000Thomas Watson4-12/+61
Add check to prevent versioning of files under META-INF Change-Id: Ibb7afa65e0da75c012ec024cd0d79fa774cf9f51 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-15Bug 528121 - Add executor to control the creation of threads forAnjum Fatima4-147/+196
multiple log listeners The executor is an ordered executor which warrants the task ordering for tasks with same key. Earlier implementation takes endless time and run out of memory when more listeners are added. Change-Id: I47dfaedaccc4033ebc977a9a53492d28d252d59d Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-15Bug 528777 - Unable to launch existing Eclipse application launchThomas Watson1-10/+15
configuration Need to make sure to discard modules with deleted/modified content before checking for multi-release bundles.
2017-12-13Bug 528422 - [osgi R7] Support for Multi-Release jarsThomas Watson5-100/+254
Change-Id: Iab950e54caa6fffb3c995694c0d7762111a846a3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-13Bug 528422 - Cancel the resolve timeout taskThomas Watson2-14/+71
Also properly name the framework event dispatcher thread to include the container UUID Change-Id: Ieb05540218708a2bb68d1f75ee78295f5f1decef Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-12-01Bug 527353 - Auto detect available packages when running >= Java 9I20171204-0850I20171204-0830I20171204-0530I20171203-2000I20171203-0800I20171202-1500I20171202-0800I20171201-2000Thomas Watson2-99/+221
Change-Id: I5bb770826262b55cedb8ef0c8a6925452fd849b3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-16Bug 526997 - Usage of org.eclipse.osgi.container.Module is ambiguousI20171122-2000I20171121-2000I20171121-0020I20171120-2225I20171120-2000I20171119-2000I20171118-1500I20171117-2000I20171116-2000Thomas Watson14-65/+317
with a Java 9 JRE Added explicit imports to org.eclipse.osgi.container.Module where needed. Also had to update the jdt prefs for the projects to stop collapsing the imports when 3 or more classes are imported from the same package. Change-Id: I6cbfbeea07e2cb0e5df7db8db1d145014ab33cb2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-11-15Bug 527302 - Issues installing bundles when a clean operation is initiated ↵I20171115-2000Thomas Watson1-0/+4
by Storage
2017-11-03Bug 526732 - Update to latest Core APII20171112-2000I20171111-1500I20171111-0410I20171111-0155I20171110-2000I20171109-2000I20171108-2000I20171107-2000I20171106-2000I20171106-0630I20171105-2000I20171104-2025I20171104-1500I20171103-2000Thomas Watson2-2/+62
Change-Id: Ibec9d2adcd3cb52dafa8d25d3b8466af448f0270 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-19Bug 522313 - remove unused fieldI20170920-2000I20170920-0100I20170919-2000Thomas Watson1-2/+0
Change-Id: Ieb265c0e46ddd32ecdc36e596a4f8eea9a32e12d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-18Bug 522313 - Remove loop used to acquire the bundle id lock on bundleThomas Watson5-51/+96
installation When installing a new module there is a loop in the Storage class which repeatedly attempts to acquire the next module ID lock before installing the module into the module container. This has always been a sort of hack because it is attempting to lock the next module ID outside of the module container so that we can stage the bundle content correctly into the bundle id folder before installing the module into the container. To do that we needed to know what the next module id is going to be and lock it so that no other thread attempts to install over with the module ID we are trying to stage. Instead of doing this strange locking loop this fix adds a new method to the module container to get and increment the next module ID and then passes that module ID in as part of the ModuleRevisionBuilder. This way if multiple threads are installing modules they each will get thier own unique module ID without requiring any outside the container locking. Change-Id: I215a991bb4ef2a71eea542259b32e0c9509d9c8f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-09-12Bug 522125 - System bundle misses capabilities in unclean startS4_8_0_M2I20170913-2000I20170913-1120I20170913-0800I20170913-0420I20170913-0220I20170912-2255I20170912-2000Thomas Watson1-10/+12
Change-Id: I4001b2ecf85a5bf82bb1b12786c776d22b4b8198 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-08-31Bug 521542 - org.osgi.framework.storage is used even whenI20170911-0405I20170910-2000I20170910-1055I20170910-0800I20170909-1500I20170909-0920I20170909-0800I20170909-0510I20170908-2345I20170908-2000I20170908-0035I20170907-2000I20170906-2000I20170906-0815I20170906-0225I20170905-2000I20170905-0600I20170905-0310I20170904-2000I20170904-0230I20170903-2000I20170902-1500I20170901-2000I20170831-2000Thomas Watson3-13/+39
osgi.configuration.area is set Log a warning when this occurs. Had to add an exceptions map that can be used during bootstrap when there is no log service to log to yet. This allowed for fixing several TODOs where we thought we should be logging but couldn't because no log service was available yet.
2017-08-21Bug 518740 - The Equinox Framework does not start on ARM using OracleI20170822-2000I20170821-2000Thomas Watson1-4/+3
Embedded JRE Additional changes from code review: - ensure streams are closed properly - update regex used to avoid extra trim operation. Change-Id: I927eed5d66cff74fd8f494d32554248e9710e95e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-08-07Bug 520281 - NPE possible if null values are used to match against aI20170807-2000Thomas Watson2-26/+29
filter Change-Id: I5b4e2b75863500a91d5e278481619254addffbd6 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-07-13Bug 518757 - native library loading not working on HP UXI20170720-2000I20170719-2000I20170719-0600I20170719-0040I20170718-2000I20170718-0355I20170717-2000I20170717-0350I20170716-2000I20170716-0130I20170715-2000I20170714-2000I20170713-2000Thomas Watson1-1/+1
Add alias hp-ux for HPUX Change-Id: I009336a4a7aad4e7ce9166517f517e3ff457ff51 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-07-05Bug 519225 - Use StandardCharsetsI20170713-0615I20170712-2000I20170711-2000I20170710-2000I20170709-2000I20170708-2000I20170707-2000I20170707-0530I20170706-2000I20170706-0630I20170705-2000Alexander Kurtakov4-26/+11
Faster and less error prone code. Change-Id: Ia49c46c212d92a144405fdc2635347d2c3eb49b9 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2017-06-26Bug 518740 - The Equinox Framework does not start on ARM using OracleI20170704-2000I20170703-2000I20170702-2000I20170701-2000I20170630-2000I20170630-0410I20170629-2000I20170629-0425I20170629-0210I20170628-2000I20170628-0310I20170627-2000I20170626-2000Thomas Watson1-3/+10
Embedded JRE Change-Id: I4f202f733e177fffe175dec58757f84aa36260d8 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-20Bug 518476 - [log] FrameworkEvent of type WARN should be logged as typeAnjum Fatima1-1/+13
WARN Change-Id: I5685496e9f9e4a60c48f13d6529f262d7a87150e Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2017-06-19Bug 518432 - Compile warning in official build Thomas Watson1-2/+2
Change-Id: I7282dc810a6eb576bde4b39a679a481281e66e0d 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-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-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 Watson2-7/+7
Signed-off-by: Thomas Watson <tjwatson@us.ibm.com> Change-Id: I44f6400ec2b37603299bed60750383177f968ada
2017-06-16service registry: Add new ServiceReference.getProperties() methodBJ Hargrave2-1/+51
OSGi added a new getProperties() method to ServiceReference so that a copy of the service’s properties can be obtained.
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 Watson3-22/+45
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 Watson1-4/+5
Implement resovlveDynamic and findRelatedResources Change-Id: I0841246411734e191b62d24a10f7918f904f932d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 492043 - [osgi R7] Implement FrameworkEvent STOPPED_SYSTEM_REFRESHED eventThomas Watson1-1/+1
2017-06-16Bug 486950 - [osgi R7] log service is being updatedThomas Watson1-0/+9
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 Watson6-33/+52
- 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 Watson12-88/+565
- Add support for LoggerAdmin Change-Id: Iecd2675cfb7ddf7f7a10fbaa8a7f35e4f59d5615 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2017-06-16Bug 487688 - [osgi R7] Implement FrameworkWiringDTOThomas Watson3-5/+50
2017-06-16[bug 486950] [osgi R7] log service is being updatedThomas Watson5-17/+470
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 Watson2-68/+132
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>

Back to the top