if it does work then the stack looks different
instead of PlatformActivator is being loaded and that triggers our plugin itis suddenly the other way around:
Daemon Thread [Start Level: Equinox Container: 9d6cebde-df6c-44ee-a043-cdd013a5b6ef] (Suspended (breakpoint at line 34 in PlatformActivator))
owns: Object (id=71)
PlatformActivator.start(BundleContext) line: 34 <<< So here really in the core.runtime activator
BundleContextImpl$3.run() line: 842
BundleContextImpl$3.run() line: 1
AccessController.doPrivileged(PrivilegedExceptionAction<T>) line: not available
BundleContextImpl.startActivator(BundleActivator) line: 834
BundleContextImpl.start() line: 791
EquinoxBundle.startWorker0() line: 1013
EquinoxBundle$EquinoxModule.startWorker() line: 365
EquinoxBundle$EquinoxModule(Module).doStart(Module$StartOptions...) line: 598
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line: 462
SecureAction.start(Module, Module$StartOptions...) line: 493
EclipseLazyStarter.postFindLocalClass(String, Class<?>, ClasspathManager) line: 117
ClasspathManager.findLocalClass(String) line: 570
EquinoxClassLoader(ModuleClassLoader).findLocalClass(String) line: 330
BundleLoader.findLocalClass(String) line: 396
BundleLoader.findClassInternal(String, boolean) line: 474
BundleLoader.findClass(String, boolean) line: 423
BundleLoader.findClass(String) line: 415
BundleContextImpl.loadBundleActivator() line: 824 << This is now our tweaks.Activator
BundleContextImpl.start() line: 778
EquinoxBundle.startWorker0() line: 1013
EquinoxBundle$EquinoxModule.startWorker() line: 365
EquinoxBundle$EquinoxModule(Module).doStart(Module$StartOptions...) line: 598
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line: 462
SecureAction.start(Module, Module$StartOptions...) line: 493
EclipseLazyStarter.postFindLocalClass(String, Class<?>, ClasspathManager) line: 117
ClasspathManager.findLocalClass(String) line: 570
EquinoxClassLoader(ModuleClassLoader).findLocalClass(String) line: 330
BundleLoader.findLocalClass(String) line: 396
BundleLoader.findClassInternal(String, boolean) line: 474
BundleLoader.findClass(String, boolean) line: 423
BundleLoader.findClass(String) line: 415
EquinoxClassLoader(ModuleClassLoader).loadClass(String, boolean) line: 155
EquinoxClassLoader(ClassLoader).loadClass(String) line: not available
XmlHandler.startElement(String, String, KXml2SAXParser$Attributes) line: 260
KXml2SAXParser.parseXML(KXml2SAXHandler) line: 76
BundleComponentActivator.loadDescriptor(URL) line: 429
BundleComponentActivator.initialize(String) line: 315
BundleComponentActivator.<init>(ScrLogger, ComponentRegistry, ComponentActorThread, BundleContext, ScrConfiguration) line: 270
Activator.loadComponents(Bundle) line: 379
Activator.access$200(Activator, Bundle) line: 49
Activator$ScrExtension.start() line: 263
Activator(AbstractExtender).createExtension(Bundle) line: 196
Activator(AbstractExtender).modifiedBundle(Bundle, BundleEvent, Bundle) line: 169
Activator(AbstractExtender).addingBundle(Bundle, BundleEvent) line: 139
Activator(AbstractExtender).addingBundle(Bundle, BundleEvent) line: 49
BundleTracker$Tracked.customizerAdding(Bundle, BundleEvent) line: 475
BundleTracker$Tracked.customizerAdding(Object, Object) line: 1
BundleTracker$Tracked(AbstractTracked<S,T,R>).trackAdding(S, R) line: 256
BundleTracker$Tracked(AbstractTracked<S,T,R>).track(S, R) line: 229
BundleTracker$Tracked.bundleChanged(BundleEvent) line: 450
BundleContextImpl.dispatchEvent(Object, Object, int, Object) line: 973
EventManager.dispatchEvent(Set<Entry<K,V>>, EventDispatcher<K,V,E>, int, E) line: 234
ListenerQueue<K,V,E>.dispatchEventSynchronous(int, E) line: 151
EquinoxEventPublisher.publishBundleEventPrivileged(BundleEvent) line: 234
EquinoxEventPublisher.publishBundleEvent(BundleEvent) line: 140
EquinoxEventPublisher.publishBundleEvent(int, Bundle, Bundle) line: 132
EquinoxContainerAdaptor.publishModuleEvent(ModuleContainerAdaptor$ModuleEvent, Module, Module) line: 231
EquinoxBundle$EquinoxModule(Module).publishEvent(ModuleContainerAdaptor$ModuleEvent) line: 493
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line: 480
ModuleContainer$ContainerStartLevel$1.run() line: 1820
EquinoxContainerAdaptor$2$1.execute(Runnable) line: 150
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>) line: 1813
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>, List<Module>) line: 1769
ModuleContainer$ContainerStartLevel.doContainerStartLevel(Module, int, FrameworkListener...) line: 1735
ModuleContainer$ContainerStartLevel.dispatchEvent(Module, FrameworkListener[], int, Integer) line: 1661
ModuleContainer$ContainerStartLevel.dispatchEvent(Object, Object, int, Object) line: 1
EventManager.dispatchEvent(Set<Entry<K,V>>, EventDispatcher<K,V,E>, int, E) line: 234
EventManager$EventThread<K,V,E>.run() line: 345
so it now comes from a totally different stack.
this: (not workign)
EquinoxBundle$EquinoxModule.startWorker() line: 365
EquinoxBundle$EquinoxModule(Module).doStart(Module$StartOptions...) line: 598
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line: 462
ModuleContainer$ContainerStartLevel$1.run() line: 1820
EquinoxContainerAdaptor$2$1.execute(Runnable) line: 150
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>) line: 1813
compared to (working)
EquinoxBundle$EquinoxModule(Module).publishEvent(ModuleContainerAdaptor$ModuleEvent) line: 493
EquinoxBundle$EquinoxModule(Module).start(Module$StartOptions...) line: 480
ModuleContainer$ContainerStartLevel$1.run() line: 1820
EquinoxContainerAdaptor$2$1.execute(Runnable) line: 150
ModuleContainer$ContainerStartLevel.incStartLevel(int, List<Module>) line: 1813