Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
30 hoursMerge branch 'master' into osgiR8osgiR8Thomas Watson43-422/+671
31 hoursOnly format changed linesHEADI20200118-1800I20200117-1800masterThomas Watson1-0/+16
With the recent change to the formatter we are getting lots of noise on the save action Change-Id: I872a53725229a24318c2f30ddb2a67273946eb0b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
4 daysBug 559118 - Add testcase and fix reexport uses constraint checkI20200116-1800I20200116-0930I20200116-0330I20200116-0310I20200115-1800Thomas Watson2-41/+122
This is a testcase that reproduces the issue found in bug 558895. When an exporter of a split package requires multiple bundles that also export the split package and that bundle does a reexport on one of the parts it can cause resolution issues for uses constraints. The actual problem is with reexport itself. The reexporting bundle does not have to also export the package to cause the issue. The problem is that each part of the package pulled in from the require-reexport is checked in isolation with the using bundles wire to the same package name. This is incorrect because that is only a subset of the actual used package from the perspective of the exported package that is using the split package. The fix is to record all the package parts for the split used package from the wiring of the bundle exporting the package that uses the split package. That way during the compatibility check we can accurately use the set of sources for the split package that the exporting bundle is using. Change-Id: I5d6194adabc7c04fe990d663ad1dd6bb77f2ac39 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
5 daysRemove redundant type arguments in osgi.tests.I20200114-1805Alexander Kurtakov38-284/+320
Change-Id: I192d24bf559330e059993971c662aac11f1c2cf6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
6 daysBug 559097 - Compile warnings in I20200113-0130Y20200114-0045I20200113-1800Alexander Kurtakov4-97/+233
Fix rt.equinox.framework warnings. Had to change formatter for org.eclipse.osgi to eclipse as there is no "core" shipped to everyone and it can vary from user to user in case one created his own. Change-Id: I67be4f9c749598506011023428005a775f673178 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
8 daysMerge branch 'master' into osgiR8Thomas Watson17-539/+531
8 daysBug 559036 - [log] add configuration to avoid capturing log entryI20200113-0130I20200112-1800I20200111-1800I20200111-0325I20200111-0230I20200110-1805Thomas Watson7-24/+75
location Change-Id: Id605511bca7f6a00cbcab26c27cbf851fce36ff0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
8 daysBug 558929 - Must handle relative FilePermission pathsThomas Watson4-67/+190
Both ConditionalPermissionAdmin and PermissionAdmin must handle relative paths be relative to a bundles data area. Change-Id: Ic9565bf368d9cad8b2676e0b2a1bb6d1b1d77cec Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
9 daysfilter: Improvements to FilterImplBJ Hargrave1-408/+248
The implementation is updated to better exploit the String type of value. We don't need to pass it as a parameter since it is a final field in the object. We also don't need to cast it to String since it is already known to be a String. This then leads to refactoring of the FilterImpl sub-type hierarchy. Change-Id: I57c94dd772f776fb6d7cbbbc12eb3d3f129c6386 Signed-off-by: BJ Hargrave <hargrave@us.ibm.com>
11 daysBug 558612 - The tests for canWrite have the undesirable side-effect ofY20200108-0435S4_15_0_M1I20200110-0905I20200110-0200I20200109-2350I20200108-2240I20200108-0600I20200108-0025I20200107-1800Ed Merks4-40/+5
changing File.lastModified Change-Id: I9491069acd200cc8a7e9063d753c04a0ffb0fa1b Signed-off-by: Ed Merks <ed.merks@gmail.com>
12 daysSilence empty block warning in osgi.tests.I20200107-0600Alexander Kurtakov1-1/+18
This creates only noise in the workbench. Change-Id: Icec52e2cef7d365b25d1a1a36f5389f8d804504d Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-12-19Bug 558476 - [OSGi R8] Add configuration files for nativeThomas Watson4-0/+156
Adding Graal Substrate native image configuration resources Change-Id: I0451ffd3bc91ebbe77553f1f7db525c8bc46df86 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-19Bug 552573 - Need to use the original BundleFileWrapperChainThomas Watson1-6/+7
When a ConnectContent does not provide headers then the original BundleFileWrapperChain should be used to find the bundle manifest. Change-Id: I1627aa7ecec3caa5f66bc2d001cf3affc726ff2a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-18Bug 552573 - Use ConnectContent.getHeaders() Map for theAnjum Fatima3-2/+86
Bundle.getHeaders Dictionary Change-Id: Ib0ed63c1f21015f14ab719b78759587724f83b7a Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2019-12-18Merge branch 'master' into osgiR8Thomas Watson1-6/+2
2019-12-18Bug 558371 - Avoid use of MethodHandleY20200103-2350I20200106-1805I20200106-0600I20200105-1800I20200105-0955I20200105-0600I20200104-1800I20200104-0625I20200104-0600I20200103-1800I20200102-1800I20200101-1800I20191231-1800I20191230-1800I20191229-2200I20191229-1800I20191228-1800I20191227-1800I20191226-1800I20191225-1800I20191224-1800I20191223-1800I20191222-1800I20191221-2205I20191221-1800I20191220-1805I20191219-1800I20191218-1805Thomas Watson1-6/+2
Use of method handles does not seem to improve performance. In my testing it actually makes things slower on Java 8. Particularly the use of MethodHandle for calling the constructor for the value to match against. Substrate also doesn't like the use of MethodHandles in the FilterImpl. For now I think we should avoid using them unless they show a clear performance win. Change-Id: I220cb2cde0a7c5bf948db6e34f8d337e3a4ce0f8 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-16Bug 552573 - add tags attribute to osgi.identity for connectThomas Watson9-20/+83
Change-Id: Ida09e6f261d46bef07e282a6c71083e85a0aa30e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-16Merge branch 'master' into osgiR8Thomas Watson5-1171/+1182
2019-12-16Bug 558380 - Augmenting existing capability attributes and directivesY20191217-0600I20191218-0015I20191217-1800I20191216-1805Thomas Watson4-18/+51
Change-Id: I6fcfc7679cc68bbbcd496fc37dc344141a5dd9dd Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-16Bug 558371: Update FilterImplbug558371BJ Hargrave1-1153/+1131
Replace old implementation with a more modern implementation using method handles and subtyping to avoid repeated checks for operand type.
2019-12-12Bug 552573 - getModule can throw BundleExceptionThomas Watson4-18/+36
Change-Id: Idd39be6c8bd361fcb9f8c6a2e70d9a1f2596aac4 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-12Merge branch 'master' into osgiR8Thomas Watson1-1/+12
2019-12-12Bug 552573 - Update OSGi Connect APIThomas Watson22-158/+350
- Rename ConnectFactory to ConnectFramework - Move newFramework with ConnectFramework from FrameworkFactory to ConnectFrameworkFactory in the connect package Change-Id: I71044befd16542bc84d2fc4c9b7ffdeb8a32eba5 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-12Add test to ensure FrameworkUtil always uses Equinox FilterImplI20191215-1800I20191214-1800I20191213-1805I20191213-0155I20191212-1800Thomas Watson1-1/+12
Change-Id: I9e37414c60d7f36dd339fb1819f819b3678226ba Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-11Merge branch 'master' into osgiR8Thomas Watson9-38/+101
2019-12-11Bug 553294 - Use StandardCharsetsI20191211-1805Alexander Kurtakov9-40/+113
Change-Id: Id3d98b332c49de8a98990d7026611963b717e761 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-12-11Version bump of o.e.osgi.compatibility.state for 4.15.Alexander Kurtakov2-2/+2
Change-Id: I28e2c4c217758ca18fef48ef718083ff509a61e6 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-12-10Update to the latest OSGi R8 APIThomas Watson5-14/+371
2019-12-10Merge branch 'master' into osgiR8Thomas Watson20-58/+69
2019-12-10Bug 553540 - Verification mechanism consumes a lot of memory when itI20191211-0135I20191210-1800Thomas Watson1-2/+13
verifies large resources Change-Id: Ia86ec549dbe55ff93047e5ffe51b57b3c1bb2c8a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-10Bug 553540 - Update version of org.eclipse.osgiThomas Watson6-6/+6
Change-Id: Ide6fe3dad965446b5e20ca821c077cad0a4b4788 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-12-06Bug 553742 - POM and product version change for 4.15 releaseY20191208-2315I20191210-0230I20191209-2205I20191209-1600I20191209-1310I20191209-1130I20191209-1110Niraj Modi16-17/+17
Change-Id: I6cd44e3c17769bb2644d5da9d7e95ada0904b979 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-12-06Bug 553748: Update version number in mac's Eclipse.app for 4.15Noopur Gupta1-3/+3
Change-Id: I0a90d5c0a7b173a6583e2701ad16c32da30919ad Signed-off-by: Noopur Gupta <noopur_gupta@in.ibm.com>
2019-11-20Bug 553222 - Equinox should support reading from new-style PKCS12 formatY20191127-0140Y20191126-0500S4_14_0_RC2aS4_14_0_RC2S4_14_0_RC1R4_14I20191210-0610I20191204-1800I20191204-0600I20191203-1800I20191203-0600I20191202-1800I20191202-0600I20191201-1800I20191201-0600I20191130-1800I20191130-0600I20191129-1800I20191127-1800I20191127-0600I20191126-2315I20191126-1800I20191126-0600I20191125-1800I20191125-0600I20191124-1800I20191124-0600I20191123-1800I20191123-1115I20191123-0600I20191123-0100I20191122-1800R4_14_maintenanceAlexander Kurtakov1-34/+34
keystores Slightly more modern code while familiarizing with codebase. Change-Id: Idafff44981e42799ed32a20ef76c5136b99cb1a5 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-11-14Merge branch 'master' into osgiR8Thomas Watson3-19/+45
2019-11-14Bug 552594 - Fix framework extensions with built-in Java 9 app loaderI20191120-2335I20191120-1800I20191120-0840I20191120-0600I20191119-2200I20191119-1800I20191119-1250I20191119-1235I20191119-1215I20191119-1155I20191119-0850I20191119-0725I20191119-0510I20191119-0315I20191119-0020I20191118-2230I20191118-1800I20191118-0600I20191117-1800I20191117-0600I20191116-1800I20191116-0600I20191115-1800I20191114-1800Thomas Watson2-22/+45
In Java 9 the application class loader changed from a URLClassLoader to an internal type jdk.internal.loader.ClassLoaders.AppClassLoader. The new AppClassLoader no longer has the addURL method that we used to add framework extension content to the class loader when the framework is loaded from the java class path. This fix uses the method appendToClassPathForInstrumentation(String) on the new AppClassLoader class. To do this extra work is needed to allow reflection on the AppClassLoader class. This is not ideal, but will allow the framework extensions to work when the framework is launched from the java application class path. Note that Eclipse launcher uses its own class loader which still has addURL method available. This new approach is only attempted if the class loader used to launch the framework does not have an available addURL method. Change-Id: I0a4195307db6fb87dbab08933584e1a798ccf34a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-11-13Bug 552573 - Remove empty jar creation for connect bundleAnjum Fatima15-278/+330
Also handle different kinds of bundles (reference, connect etc) using ContentProvider interface. Also fixed connect bundle system fragments to stop trying to add content to framework class loader. Change-Id: Ic77a343bed89c88b4f7df541f20ed3a4352f4bdc Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2019-11-07Remove the test attribute from classpathentryThomas Watson1-640/+128
Change-Id: Idb8c1b78e8dbe8d6cd6e99ff153d7b6bc6ac3e8e
2019-11-07Bug 552766 - Fix testJavadocLogs in releng testsY20191112-0030Y20191107-0440I20191114-0410I20191113-2315I20191113-1800I20191112-1800I20191111-1800I20191111-0920I20191111-0655I20191111-0435I20191111-0145I20191110-1800I20191109-1800I20191109-0650I20191109-0330I20191108-1800I20191107-1800Vikas Chandra1-1/+1
Change-Id: Ib8b5c9a65a579fc014e5836edf8b18a049061027 Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2019-11-06Bug 552573 - remove leading '/' before calling getEntryThomas Watson2-2/+19
Change-Id: I7d62eb7cbc0b09a8c0227c83c91bf5bc5bf28bdf Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-11-06Bug 527175 - Storage#getSystemContent() should first make the fileY20191107-0420I20191106-1805Christoph Läubrich1-2/+3
absolute Change-Id: I05446e0484b5a5a60defae3019f46c05ed5a062e Signed-off-by: Christoph Läubrich <laeubi@laeubi-soft.de>
2019-10-30Bug 552573 - [osgi r8] Implement OSGi ConnectThomas Watson45-238/+2664
Initial OSGi Connect implementation based on early proposal of the OSGi Connect API. This is likely to change over the course of the specification development. Change-Id: I92f6a3312dfc64d6b56d103c889aad3e00a56c7e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-10-30Update to Java 8 required execution environmentThomas Watson16-48/+110
Change-Id: I8b31902ac6e006873dfe5ad4a77698dd2328e645 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-10-14Remove gtk aix launcher makefile.I20191105-1800I20191105-0025I20191104-1800I20191103-1800I20191102-1800I20191101-1800I20191101-0300I20191031-1800I20191031-1325I20191030-1800I20191030-0010I20191029-1800I20191028-1800I20191027-1800I20191026-1800I20191025-1805I20191024-1800I20191023-1810I20191022-1800I20191022-0405I20191020-1800I20191019-1800I20191018-1800I20191018-0720I20191016-1800I20191015-1800I20191014-1800Alexander Kurtakov1-115/+0
Change-Id: I3acc57f2b1c984fa84413c1edb38e039af9cd2c0 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Remove unneeded NON-NLSAlexander Kurtakov1-2/+2
Change-Id: I8383a6d642bafe2c8a5808aaac271aefc39b21bc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Improve CDT project files.Alexander Kurtakov3-129/+382
Pointing to gtk2 and other ancient things is not helping anyone. Change-Id: I115ff81c2d7aafaa2431484254e6f9a129723093 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Bug 552093 - Remove 32bit launcher codeAlexander Kurtakov4-20/+5
Drop support in code. Change-Id: I91823ac9c762b9e4211b3ea5356f54ac56154675 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Bug 552093 - Remove 32bit launcher codeAlexander Kurtakov3-109/+2
Drop support in build scripts. Change-Id: I4fe2e2cd4e1480666aa428f2d0972ed8921f1bde Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Bug 552093 - Remove 32bit launcher codeAlexander Kurtakov12-242/+0
Remove fragments. Change-Id: I00de67b0c06fd3c829bf06ec8ad9339c75aa7988 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-14Report target directory when Main's getBootPath could not find frameworkMykola Nikishov3-6/+6
... and throw FileNotFoundException, per method's signature, instead of RuntimeException. Change-Id: If6a31b24e0c74af0eb4f80fcc92d2ef8e8dcfe7b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>

Back to the top