Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 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-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>
2019-10-14Bug 552088 - Allow framework to continue even when factories are not set on URLThomas Watson1-10/+22
Graal substrate native images do not support setting the factories on the URL classes. This change allows the framework to continue to launch even if it fails to set the factories. This implies the OSGi URL Handlers Service specification will not be supported when this happens. Change-Id: Id18883dd12072e0b9f4a57c1e9c3cdb9ffdf8c99 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-10-14Bug 552087 - Avoid creating class loaders in static initializersThomas Watson6-38/+54
This becomes problematic when trying to create a substrate VM native image. We can easily avoid this but finding the boot loader in the constructor of EquionoxContainer Change-Id: Ibfcf974de69772cf585a4495d4d2fa0903dcf7a3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-10-14Bug 552085 - never fail out of calls to registerAsParallelCapableThomas Watson2-3/+20
Handle the failure case for substrate native images Change-Id: I933cec84a2e0d6db9d05f551d9bc61556997338d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-10-08Use StandardCharsets.S4_14_0_M1I20191013-1800I20191012-1800I20191011-1800I20191009-1800I20191009-0600I20191009-0300I20191008-1800I20191008-0600Alexander Kurtakov3-16/+35
Instead of string name "UTF-8". Change-Id: I724c60e5c074e7593b17bd24385a5e40023fcf94 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-01Minor - Use Boolean.parseBoolean instead of Boolean.valueOfI20191007-1800I20191007-0625I20191007-0430I20191006-1800I20191006-0600I20191003-1800I20191002-1800I20191002-0100I20191001-1800Lars Vogel1-2/+3
This is more efficient and fixes a Sonar warning Change-Id: Id6fe50b7e2162c823f2ff320121d7ebfd4b6d7ea Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-09-30Bug 551576 - BundleURLConnection.getContentLengthLong() always returns 0I20190930-1800Thomas Watson1-2/+2
Change-Id: I3d781b1f805f2c75b65bb56fe156f0f6e48750ef Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-24Bug 551431 - NPE when system content is null on a restart from cacheI20190929-1800I20190928-1800I20190928-0515I20190928-0205I20190928-0000I20190927-1800I20190927-1530I20190927-0255I20190927-0225I20190927-0145I20190926-1800I20190926-0625Thomas Watson1-3/+1
Change-Id: I8efdec5dc7d60354b655da727763e5a8deb2fbfe Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-24Bug 551396 - Fix files that have ended up with CRLF in the gitI20190924-1800Ed Merks1-52/+52
repository Change-Id: I0b7bb7493a422086f6272f17b73358891bb8cf2b Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-09-24Bug 550648 - The /org.eclipse.equinox.executable.feature/feature.xmlEd Merks1-0/+1
should specify a provider Change-Id: Id9b594cc89b9fae22bc15f165ada87ad32ccdf46 Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-09-23Log a warning when bundles get discarded by a hook.I20190923-1800Thomas Watson1-1/+1
Change-Id: I54503da163df76c211326a1a70dc7136a41d6d50 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-23Bug 551380 - StorageHookFactory.createStorageHook method returns nullThomas Watson3-2/+45
The framework must handle when creeateStorageHook returns null when installing a bundle, saving persistent hook data and loading persistent hook data. A new test is added to test all three cases. Change-Id: I941491e8759b659ea97b129fbab0aa01c84edf5a Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-23Bug 551376 - Add getWrappedType to BundleFileWrapperChainThomas Watson3-21/+31
Remove some duplicate code that walks the wrapper chain looking for a specific type of bundle file wrapped in the chain Change-Id: I308ad1b6966c857a81154226952590e255e2e9f2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-18Bug 551174 - Comparator errors in 4.14 I build - I20190917-1800I20190923-0615I20190922-1800I20190921-1800I20190920-1800I20190919-1800I20190919-0850I20190918-1800I20190918-0300Alexander Kurtakov1-0/+1
Change-Id: I0d37f0de41bf849ce20e33357a86486a704b4adc Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-09-16Bug 475071 - Data race inside LoggingTestsI20190917-1800I20190916-1800Thomas Watson1-13/+28
Change-Id: Ic6f3b441167ec3e88c37bc656557caf69be6d5ee Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-13Bug 550605 - StackOverflowError in CDSBundleFileEntryI20190915-1800I20190914-1800I20190913-1800Thomas Watson2-7/+11
The method CDSBundleEntry.getEntry() ended up calling CDSBundleFile.getEntry(path) which ends up returning another CDSBundleEntry object. The intention was to get the wrapped entry from the next BundleFile in the chain. The result of getting another CDSBundleEntry is that we endless recurse when calling methods like CDSBundleEntry.getInputStream() Change-Id: I0c684eb63987797cd9e092a405274ccb1d4eae71 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-12Bug 550605 - Check class cache before wrapped bundle fileI20190912-1800Thomas Watson2-23/+29
If a class exists in the j9 class cache for a given bundle content URL then just use it and do not first check for an entry from the wrapped bundle file. This avoids doing an unneeded zip file lookup each class load Change-Id: I0f34305fa9e2f88c089d0888db732e8d3647dc9d Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-11Use HashMap in ManifestElement instead of HashTableI20190911-1805Lars Vogel1-13/+17
Change-Id: I69caf7992433e438c69a1178f38920dcf43b8ff3 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-09-10Bug 550645 - Cache common keys for CaseInsensitiveDictionaryMapI20190910-1800Thomas Watson2-10/+164
Adds a static cache for common keys that uses a hardcoded switch statement for quick lookup of a common key during keyWrap. This reduces the penalty for non-common keys to be more manageable such that the performance benefit of the common key cache can be realized. Change-Id: I9a4ad5609cd0f07ebdc4a358b341a00232df17d4 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-10Bug 550645 - Performance improvements to CaseInsensitiveDictionaryMapThomas Watson5-21/+239
Improve hashCode calculation to avoid Character.toUpper/LowerCase calls for ASCII chars and make hashCode final for CaseInsensitiveKey Improve put operations by not interning the key on every put. It is now up to the client to intern if necessary. Updated ManifestElement to do that for bundle manifest keys while parsing the bundle manifest. Also improved performance for keys that are not already present in the Map by avoiding a call to remove first. With these optimizations put together we should see ~4x perforamance improvement in the usage of the CaseInsensitiveDictionaryMap by the framework. Change-Id: Ibe21780b2be95cecab994fa2ca2e817d7bab112c Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-10Update org.eclipse.osgi version for next release.Thomas Watson6-6/+6
Change-Id: Ie64108ca23c1eb2cc8d6ee6c23f69b7686e1d510 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-10Bug 550777 - Version bumps for 4.14 streamI20190910-0815Alexander Kurtakov2-2/+2
Bump org.eclipse.equinox.executable.feature. Change-Id: I527d04dee6b1297ccae7421c9b47c145ec9c5b3e Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-09-09Bug 550774 - Update version number in mac's Eclipse.app for 4.14I20190910-0145I20190909-1520I20190909-1425I20190909-0925Vikas Chandra1-3/+3
Change-Id: I89bb6ea6bce9c85b6a08fd39b828cc32d93dc70c Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com>
2019-09-09Bug 550767 - POM and product version change for 4.14 releaseNiraj Modi20-21/+21
Change-Id: Ib082892d8e91f0b1403522ff2b96f0fd1be688e2 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-09-07Bug 550674 - Specify hardened runtime for Mac app signingY20190919-0900Y20190916-0900Y20190914-0255Y20190913-0735Y20190912-0900Y20190912-0055Y20190910-0005Y20190909-0900S4_13_0_RC2aS4_13_0_RC2R4_13I20190916-1045I20190907-1130R4_13_maintenanceThomas Watson1-1/+2
Change-Id: Ifbad3ed1b4a2dfb066bb352c0c8699b7537ff77f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-09-07Binaries v20190907-0026genie.releng10-10/+10
2019-09-07Binaries v20190907-0024genie.releng10-10/+10
2019-09-03Bug 550714 - Comparator errors in I20190903-1110Y20190905-0900I20190906-1800I20190906-0940I20190906-0410I20190904-2200I20190904-1805I20190904-0605I20190903-2155I20190903-1800I20190903-1410Sravan Kumar Lakkimsetti2-0/+2
Change-Id: I7fa6183f70dd4aec420638d8945acb19e48dbc68 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-08-30Bug 550599 - incorrect version for package org.eclipse.equinox.logY20190903-1130Y20190902-0900I20190903-1110I20190903-0605I20190902-1800I20190902-0805I20190902-0600I20190901-1800I20190901-0600I20190831-1800I20190831-0600I20190830-1800Thomas Watson1-1/+1
Change-Id: I33fce4e69bd1b1b7d6e20fc30c6c5747e01d0332 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-08-30Bug 550594 - Please set incompatible_api_component_version=WarningEd Merks1-0/+1
Change-Id: Ifc844daafbd05025bfe01866180056375d05e605 Signed-off-by: Ed Merks <ed.merks@gmail.com>
2019-08-20Bug 549947 - Provide consistent ordering for callingY20190829-0900Y20190826-1000Y20190822-0900S4_13_0_RC1S4_13_0_M3I20190830-0550I20190830-0440I20190828-1800I20190828-0600I20190827-1800I20190827-0600I20190826-1800I20190826-0640I20190826-0415I20190823-0840I20190823-0530I20190821-1800Anjum Fatima7-98/+350
service/bundle/framework listeners Change-Id: I8dffb2bf4b8d00d5778b778c6f4f54cbe9ec6667 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2019-08-14Bug 550070 - Update org.eclipse.osgi code in Equinox with latest oneY20190819-0900Y20190815-0900I20190821-0600I20190820-1800I20190820-0855I20190820-0600I20190819-2355I20190819-0600I20190818-1800I20190817-1800I20190816-1800I20190816-0155I20190814-1800Lars Vogel28-43/+43
from OSGi Tom asked me where I see StringBuffer used. This is NOT to modify the code (Tom suggested that we update the code from the OSGi repo), it is just to show Tom the places. Change-Id: Id2324d475bdf96d2a82fb4627d5184eca6892989 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-08-08Bug 549895 - Ignore classes provided by the Java platformY20190812-0900I20190813-1800I20190812-1800I20190811-1800I20190810-1800I20190809-1800I20190808-1800Thomas Watson8-9/+160
Should not ask the factories if they can handle classes provided by the JRE because they cannot and it causes recursion to occur in cases where a classloader loading the embedded framework itself creates URLs from URI objects. Change-Id: I1ca9b0a8690a4eb295b624ded73698b2dc7afd07 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-08-07Bug 549840 - add support of FreeBSD platform for org.eclipse.osgi bundleY20190808-0900I20190807-1800Michael Zhilin6-5/+17
Bump version from 1.8.400 to 1.9.0 due to new API change (new constant) Change-Id: I71d74fbb4d0a11b804bf3c04c018e1d72892afea Signed-off-by: Michael Zhilin <mizhka@gmail.com> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-07-25Bug 549406 - Stop publishing service.vender propertyY20190805-0900Y20190801-0900Y20190730-0135Y20190730-0055Y20190729-0900I20190806-1800I20190805-1800I20190804-1800I20190803-1800I20190802-1800I20190801-1800I20190801-0600I20190731-1800I20190730-1800I20190729-1800I20190728-1800I20190727-1800I20190726-1800I20190725-1800Thomas Watson3-12/+18
This property required parsing and translating the system bundle manifest. That takes some time and isn't worth it just to have a service.vender property that provides little to no value. Change-Id: I18ae5aeabc204acd87d5c849521bc497160f01c9 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-07-23Bug 549406 - improve performance of checkSystemBundleY20190725-0900I20190724-1800I20190723-1800Thomas Watson3-57/+108
Storage.checkSystemBundle is expensive because it has to reparse the system bundle manifest and constructs a new ModuleRevision based on the current environment and then does a deep equality check of the newly constructed ModuleRevision with the cached ModuleRevision for the system bundle. This commit changes the implementation to instead base the check off the values for the environments packages and capabilities compared to the cached values of these from last start. It also does a timestamp check to see if the framework's content has actually changed. Change-Id: I47a310dbf8f45acf46a95d9ffbfc79801118f5c0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-07-15Use jdk 5 for-each loopY20190722-0900Y20190718-0905Y20190718-0450Y20190715-2335I20190722-1800I20190721-1800I20190720-1800I20190719-1800I20190718-1800I20190717-1800I20190716-1800I20190715-1800Carsten Hammer121-1631/+1873
Replace simple uses of Iterator with a corresponding for-loop. Also add missing braces on loops as necessary. Change-Id: I97b9a58053098327f05ac48338486ed40144b987 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de> Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-07-15Binaries v20190715-0545Y20190715-0900genie.releng11-11/+11
2019-07-08Revert "Using indexOf char instead of indexOf String"Y20190711-2335Y20190711-0900Y20190708-0900S4_13_0_M1I20190714-1800I20190713-1800I20190713-1105I20190713-0230I20190712-1800I20190712-0625I20190711-1805I20190711-1120I20190711-0825I20190710-1800I20190710-0610I20190709-1800I20190709-0610I20190708-1800I20190708-1035Thomas Watson1-1/+1
This reverts commit 272463c9791dd8cb7a814e44b262f7a4a5c7f863. Change-Id: Ifbf82e46bbefc6ad41f57f5d4fb3a21c6b0f1b2f
2019-07-05Using StringBuilder instead of StringBufferI20190708-0800I20190707-1800I20190707-0110I20190706-1800I20190705-1800Lars Vogel7-23/+54
Change-Id: Iae0de48f8bb658e7f68e7c6f88ce7c0f275dfc03 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top