Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-11Cleanup resolver code to match latest Apache FelixI20190618-0225I20190617-1800I20190616-1800I20190615-1800I20190614-1800I20190614-0330I20190613-1800I20190613-0210I20190612-1800I20190612-0115Thomas Watson1-5/+7
Change-Id: I25b526a546bcfbaedef6368104b561fdce7ce09e Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-06-11Bug 284498 - [log] LogEntry topic required to log eventsThomas Watson1-17/+28
Change-Id: I3868cffc0f978f36264bb2b9f9fd3ccb0dbe90a0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-06-11Bug 474156 - Turn missing ext point to warningMickael Istria1-0/+1
Loading the bundle in a workspace with only its dependencies as target platform currently shows an error, turn it into a warning. Change-Id: I9966ddf830961d5ad47f2337b6f499a0eead9773 Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-06-10Bug 548075 - Ability to control if bundles are activated in parallelI20190610-1800Thomas Watson10-31/+212
Add a new option equinox.start.level.restrict.parallel which is false by default. Setting this value to true requires that the method Module.setParallelActivation must be called with true to enable parallel activation for the Module. The parallel activation setting is persistent across restarts. Tests have been added to test for persistence of the setting and that the setting is applied correctly when activating bundles from the start-level implementation. Change-Id: I20ea5807edfd10762fc5758317d946946299d5a7 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-06-10Bug 548017 - Reduce contention in BundleLoaderSources.getPackageSource()Anjum Fatima1-13/+12
Change-Id: Idcfb5d02d66f1be20c627e362148439f43733408 Signed-off-by: Anjum Fatima <anjum.eclipse@gmail.com>
2019-06-10Bug 547830 - fix possible deadlock in EnhancedExecutor.await()Thomas Watson6-43/+45
The count used in EnhancedExecutor is dangerous because it increments before dispatching work to the executor. If any exception happens while dispatching the task then the count will not be decremented. This changes the code to use futures instead to see when the work is done. Change-Id: Ie042d0c269cffa95dc61d917f0c1a873ba448294 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-06-07Bug 547928 - Version bumps for 4.13 streamI20190610-0135Thomas Watson2-2/+2
Change-Id: Ie0c4d5648bc8a4fa8bac98d73289e0d1db401fa3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-06-07Bug 547924 - Update version number in mac's Eclipse.app for 4.13I20190608-0140I20190607-1345I20190607-1000I20190607-0725Sravan Kumar Lakkimsetti1-3/+3
Change-Id: If168dfaeef31001357b39e53800d23c2eb9d4730 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-06-07Bug 547907 - POM and product version change for 4.13 releaseNiraj Modi20-21/+21
Change-Id: Id7e4cd8f5f9780d2ea551f4a5d5b2280916b0d77 Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-05-17Bug 547431 - PackageAdminImpl doesn't use the new FrameworkUtilHelperS4_12_0_RC2S4_12_0_RC1aS4_12_0_RC1S4_12_0_M3R4_12I20190605-1800I20190605-0600I20190604-1800I20190604-0600I20190603-1800I20190603-0600I20190602-1800I20190602-0600I20190601-1800I20190531-1800I20190531-0245I20190529-2005I20190529-1800I20190529-0600I20190528-1800I20190528-0915I20190528-0850I20190528-0600I20190527-1805I20190527-0600I20190526-1800I20190526-0600I20190525-1800I20190525-0600I20190524-1800I20190524-0135I20190522-1800I20190522-0600I20190521-1800I20190521-0600I20190520-1805I20190520-0600I20190519-1800I20190518-1800I20190517-1800R4_12_maintenanceThomas Watson2-9/+10
Change-Id: I98ab87486d3c8066f86609fc4d2959d5df1325c0 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-05-17Suppress deprecation warnings.Thomas Watson4-7/+36
Change-Id: I9df1251893c3052e18681b9a4c0beeb23b3bab90 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-05-17Fix up .api_filters to remove unused filtes.Thomas Watson1-281/+0
Change-Id: Iabff703b72a90538141fd783ef00ec00861877ae Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-05-16Add @Override AnnotationI20190516-1800I20190516-1405I20190516-1335I20190516-1250I20190516-1200I20190516-1055Carsten Hammer239-3/+1084
Change-Id: I4ef764e744192dc3564ad053e8984e891aadfe44 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-05-15Main's searchFor returns null instead of throwing an exceptionMykola Nikishov1-3/+2
Change-Id: I1e17c13829d2f25df708ebbec91e9173af8a50ca Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-15Inline single invocation of Main's searchFor(String, String, String)I20190515-1800Mykola Nikishov1-4/+0
It's 2nd parameter is not used and it makes the method an equivalent of searchFor(String, String), which remains. Change-Id: I306b26aec267436429e95ceff7f312b237783f5b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-15Join catch sections using multicatchCarsten Hammer17-82/+27
Change-Id: Id35c9d1f3d70f1ff4c683b88cc054213b1291a17 Signed-off-by: Carsten Hammer <carsten.hammer@t-online.de>
2019-05-14Bug 547265 - Fine-grained merging properties in launcher's MainI20190515-0205Mykola Nikishov1-13/+13
Merging configuration and extension properties with system properties in mergeProperties uses System's getProperties and requires ("java.util.PropertyPermission" "*" "read,write") permission even if we are not actually going to modify any of these. Instead, use more fine-grained approach and set individual properties explicitly with System's setProperty. If/when AccessControlException occurs, it would provide more specific error message like: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "eclipse.exitcode" "write") Also rename mergeProperties to mergeWithSystemProperties. Change-Id: I46bb6d539c58cc3dcff3a70dc2dc8544fc0ea7db Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-14Bug 547265 - Fine-grained access to system properties in launcher's MainMykola Nikishov3-47/+47
Running with SecurityManager enabled, System.getProperties() requires full access to all properties, including write permission, even if we are not going to modify any of them. Instead, replace System.getProperties().xxx() chained calls with their direct counterparts: - System.getProperties().getProperty() with System.getProperty() - System.getProperties().put() with System.setProperty() - System.getProperties().remove() with System.clearProperty() This would allow to use minimal security policy regarding system properties like: grant { permission java.util.PropertyPermission "*", "read"; permission java.util.PropertyPermission "osgi.*", "write"; permission java.util.PropertyPermission "eclipse.*", "write"; }; and would provide more specific error message if/when AccessControlException occurs: java.security.AccessControlException: access denied ("java.util.PropertyPermission" "eclipse.exitcode" "read") Change-Id: If5d4cb0dc8ad795d1a9c85932222072bd58121ce Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-05-06Bug 547014 - Improve executors for start-level and resolutionI20190513-1800I20190512-1800I20190511-1800I20190510-1800I20190509-1800I20190508-1800I20190508-0450I20190508-0150I20190507-1800I20190507-0155I20190506-1800Thomas Watson1-33/+30
Change-Id: Idf2bf7e74394529f856a9b44e1040de0cce24805 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-29Code cleanup - get rid of unused method param configI20190505-1800I20190504-1800I20190503-1800I20190502-1800I20190501-1800I20190501-0525I20190430-1800I20190429-1800Thomas Watson1-4/+4
Change-Id: I0dac3067720a64cc9e889b55e17211271c5b8fec Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-23Bug 546658 - "Windows Server 2019" to osname.aliasesI20190429-0240I20190428-1800I20190427-1800I20190426-1800I20190425-1800I20190425-0030I20190424-1800I20190423-1800Thomas Watson1-0/+1
Change-Id: Ib70aaf1c0c086db9c80f8ee8cd3c866c4a13a8e7 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-23Remove usage of deprecated constructors and replace StringBuffer withLars Vogel13-96/+107
StringBuilder Change-Id: I2c11ad3301c7f5a7c1397804c45b0c9004d75fbd Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-04-20Bug 546606 - Optimize population of objectTableI20190422-1800I20190421-1800I20190420-1800Thomas Watson1-18/+28
Using an ArrayList here is much faster than populating a large Map keyed by Integer. Change-Id: Ic92bdef9f8d2adeca60d7390cca5d2f0cd19e092 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-20Bug 546606 - Optimize extension fragment checkThomas Watson1-21/+40
Change-Id: I227eea135bf7448985e1934c7fde9789e4b888f6 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-18Bug 540507 - Improve tests for parallel bundle startI20190419-1800I20190418-1800Thomas Watson1-5/+21
Change-Id: I284c75fad586647b67d616eed2d8690ae902608b Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-18Bug 540507 - correctly determine pool sizeThomas Watson2-6/+9
Change-Id: Ic340f4d7b9f8c53065397f64d54d4cd141c3bfa1
2019-04-18Bug 540507 - Use same executor when resolver and start-level count < 1Thomas Watson1-1/+1
Change-Id: Id90de02b27a55629ee85d2a0713cb604460ddec2 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-12Bug 546380 - Add bundleStartTime trace optionI20190417-1800I20190416-1800I20190415-1800I20190415-0300I20190414-1800I20190414-0210I20190413-1800I20190412-1800Thomas Watson4-4/+24
This new option not only records the time to load and call BundleActivator.start but also the complete time to start a bundle including resolving and firing bundle events Change-Id: I70bc48ca3bfbe08d33a159d7add0164df8bcfa76 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-12Bug 540507 - parallel activation of bundles from framework start-levelThomas Watson8-47/+284
By default the framework start-level implementation activates all bundles that have the same start-level in sequential order using the bundle ID (install order) to determine the order the bundles are started from a single thread. A new configuration option is added equinox.start.level.thread.count that is set to 1 by default. This will cause the framework to continue with the behavior of activating all bundles with a single thread. If equinox.start.level.thread.count is set to -1 then the framework will use an executor with the number of threads == to java.lang.Runtime.availableProcessors() to activate the bundles in parallel. This means that the order the bundles with the same start-level are activated becomes random. The equinox.start.level.thread.count config setting can also be set to a value > 1 to give an explicit value for the number of threads to use (instead of using java.lang.Runtime.availableProcessors() to determine the number) Change-Id: Ifcf6f18b762bcb114f8f8c75630fdca0cb79a24c Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-12Avoid unnecessary String concating in debug messageThomas Watson1-2/+2
Change-Id: Ic0fb2dda744206d40e96ab7ba5ecea1ad9e5b237 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-04-09Bug 544061 - [releng] Reuse rt.equinox.binaries.loc in launcher-binary-parentI20190412-0520Mykola Nikishov3-5/+5
launcher-binary-parent, a parent for all org.eclipse.equinox.launcher.* submodules, also uses a location of rt.equinox.binaries project to copy-launcher-natives. Move rt.equinox.binaries.loc property from org.eclipse.equinox.feature:org.eclipse.equinox.executable to org.eclipse.equinox.framework:rt.equinox.framework which is the parent for both org.eclipse.equinox.feature:org.eclipse.equinox.executable and org.eclipse.equinox.framework:launcher-binary-parent. Hard-coded relative path dependency from framework to binaries repository has been present for a few years [1]. This is the last change in a series [2], [3] that remains backward-compatible but also allows to use arbitrary locations for both projects by defining the system property rt.equinox.binaries.loc: cd /home/user/src/rt.equinox.framework mvn -Drt.equinox.binaries.loc=/src/equinox/binaries/ <goals> [1] 12c991ab837e7927c3a30ce408f42cde420197ea [2] a77f4a30d1824d75c87079b944c67be2291feccb [3] 8dcd176ab4016b61c821f392a37f004544ecefbc Change-Id: I4f7f078f0e15dd346405cc2add4b2f8dc57d8eaa Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-03-27Bug 544061 - [releng] rt.equinox.binaries.loc should point to the root of ↵S4_12_0_M1I20190411-0625I20190410-1800I20190410-0600I20190409-1800I20190409-0600I20190408-1800I20190408-0600I20190407-1800I20190406-1800I20190405-1800I20190404-1800I20190403-1800I20190402-1800I20190401-1800I20190331-1800I20190330-1800I20190329-1800Mykola Nikishov1-2/+2
the project Change-Id: Idf6ca5f98cd21085d9b90965b007f69849d2ad62 Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
2019-03-18Bug 545330 - Problems in javadoc for platformI20190329-0120I20190328-1800I20190327-1800I20190326-2305I20190326-1800I20190325-1800I20190325-0105I20190324-1800I20190323-1800I20190322-1800I20190321-1800I20190321-0435I20190321-0245I20190320-1800I20190318-1800Alexander Kurtakov9-12/+12
Fix equinox.framework javadoc issues. Change-Id: Icef51dd371798eac71404e37a3813ad9df39dc08 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-11Bug 545149 - performance hit on loading from cached stateI20190314-1800I20190312-1800I20190312-0340I20190311-1800Thomas Watson8-11/+55
Change-Id: Ibc62835672f6f62bd2ee44cfdc110e9124b676b3 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-03-10Bug 545223 - Version bumps for 4.12 streamI20190311-0410Alexander Kurtakov2-2/+2
Bump equinox executable feature. Change-Id: I815f7a0de1b9a44c7fd8378952a40ecf3803addf Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-03-08Bug 545100 - Update version number in mac's Eclipse.appI20190309-1830I20190308-1830I20190308-1525I20190308-1055I20190308-0740Sravan Kumar Lakkimsetti1-3/+3
Change-Id: If2d5afe1594fe2f69b2c0d133529e1b06f2f7ccc Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
2019-03-08Bug 545094 - POM and product version change for 4.12 releaseNiraj Modi20-21/+21
Change-Id: Ic312b70ae6e58eecd7ef12afb8a9666cc8cd2e1b Signed-off-by: Niraj Modi <niraj.modi@in.ibm.com>
2019-02-18Bug 543933 - Build javadocs with Java 11Y20190320-2200Y20190319-2305Y20190316-1220Y20190313-2200Y20190313-0215Y20190308-0715Y20190307-1015Y20190306-2200Y20190227-2200Y20190225-0415Y20190222-0110Y20190220-2200S4_11_0_RC2S4_11_0_RC1S4_11_0_M3R4_11I20190307-0500I20190306-2135I20190306-1800I20190306-0600I20190305-1800I20190305-0600I20190304-1800I20190304-0600I20190303-1800I20190303-0600I20190302-1800I20190302-0600I20190301-1800I20190301-0040I20190228-0300I20190227-1800I20190227-0600I20190226-1800I20190226-1020I20190226-0715I20190226-0600I20190225-1800I20190225-0600I20190225-0200I20190224-1800I20190224-0930I20190224-0600I20190223-1800I20190223-0600I20190222-1800I20190222-0645I20190222-0440I20190220-1800I20190220-0600I20190219-1800I20190219-0600I20190218-1800R4_11_maintenanceAlexander Kurtakov12-26/+30
Fix javadoc warnings catched by Java 11 tool with XDoclint:html. Change-Id: I19a1c991d5653ac032507dd53c79c1e96ff5e23f Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-15Bug 543844 - FrameworkExtensionInstaller in dev mode is unable to getI20190218-0600I20190217-1800I20190217-0600I20190216-1800I20190216-0600I20190215-1800Thomas Watson3-0/+77
extension files Change-Id: I30d4dc4f7306fb39c2edba202e1a2f61c6873218 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-02-15Bug 544477 - allow hook to prevent resource loadThomas Watson4-12/+78
Change-Id: I6286f7b427d54ad0f3961bd2b21658cb573552d7 Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-02-15Fix typo in javadoc of createRequirementI20190215-0630Karsten Thoms1-1/+1
Change-Id: I2fe0024e358820d4be87d3ae404a8d7cdc2b624e Signed-off-by: Karsten Thoms <karsten.thoms@itemis.de>
2019-02-14Bug 543933 - Build javadocs with Java 11I20190215-0055Alexander Kurtakov5-38/+48
Fix warnings as catched by Java 11 tool. Change-Id: I7f0625d4674b85f3fa5a9f5e915cdae9310f48bd Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-02-13Bug 544262 - Deprecate and mark for deletionY20190213-2200I20190214-1800I20190213-1800Lars Vogel2-0/+2
org.eclipse.core.launcher#Main and WebStartMain Change-Id: I71d23a099d04fc86dea3b59796c46c4fa75d7a10 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-13Bug 544247 - Replace deprecated method calls to Class.newInstance()Thomas Watson5-31/+32
Change-Id: I23a35632bd5ca673787549fbb1949008ac26846f Signed-off-by: Thomas Watson <tjwatson@us.ibm.com>
2019-02-11Revert "Bug 542691 - Stop adding the system.bundle alias to the"Y20190213-0305I20190212-1800I20190211-1800Thomas Watson2-23/+8
This reverts commit 79e672bcbfdb99bd8b26771d9cfa859e531a908a.
2019-02-11Bug 544265 - Use try-with-resources in org.eclipse.equinox.launcher.MainJulian Honnen1-69/+10
Change-Id: Idd90f73819ba84aa8ca65e5d6a453dcc02052673 Signed-off-by: Julian Honnen <julian.honnen@vector.com>
2019-02-11Bug 544262 - Deprecate and mark for deletionLars Vogel2-0/+7
org.eclipse.core.launcher#Main and WebStartMain Change-Id: Ica39847c64b0017c0eb226b7d8bd5dfa9a723c48 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-11Bug 544327 - Remove check for Java 1.4 availability Main#substituteVarsLars Vogel1-9/+1
in org.eclipse.equinox.launcher Change-Id: I2abc11da0df47df496520af3f4bdf5c5e02ae021 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-11Use ArrrayList instead of Vector in org.eclipse.equinox.launcher.MainLars Vogel1-2/+2
Change-Id: I25a7c6bc473eecd90411906727abe8b0455ad400 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
2019-02-11Put single-quotes around '/' to use the faster "lastIndexOf(char)"Lars Vogel1-1/+1
method Change-Id: I1402135d3c6e1c9af34d1b662328097382656777 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>

Back to the top