From f243fcdb179606f5e3160cd9dc80ab5abcec079f Mon Sep 17 00:00:00 2001 From: Alexander Fedorov Date: Fri, 18 Jul 2025 18:13:51 +0300 Subject: [PATCH] Prerequisite for #1233 (Move to migrated platform terminal) CDT needs to update its hack to follow internal changes in Platform https://github.com/eclipse-platform/eclipse.platform.ui/commit/0e4942bca8aad73999ea2a2ea49e8a8e6aef2f38#diff-54c81a16536eba9489797a9d665c195f0908163e2c7b14ad055d78cc62579fdaL193 --- .../src/org/eclipse/cdt/ui/testplugin/EditorTestHelper.java | 5 +++-- releng/org.eclipse.cdt.target/cdt.target | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/testplugin/EditorTestHelper.java b/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/testplugin/EditorTestHelper.java index dc7d1d72d12..2afec342a76 100644 --- a/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/testplugin/EditorTestHelper.java +++ b/core/org.eclipse.cdt.ui.tests/src/org/eclipse/cdt/ui/testplugin/EditorTestHelper.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2015 IBM Corporation and others. + * Copyright (c) 2000, 2025 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -11,6 +11,7 @@ * Contributors: * IBM Corporation - initial API and implementation * Anton Leherbauer (Wind River Systems) - Adapted for CDT + * Alexander Fedorov (ArSysOp) - adapt to internal Platform changes *******************************************************************************/ package org.eclipse.cdt.ui.testplugin; @@ -373,7 +374,7 @@ public class EditorTestHelper { } private static Accessor getBackgroundThreadAccessor(AbstractReconciler reconciler) { - Object backgroundThread = new Accessor(reconciler, AbstractReconciler.class).get("fThread"); + Object backgroundThread = new Accessor(reconciler, AbstractReconciler.class).get("fWorker"); return new Accessor(backgroundThread, backgroundThread.getClass()); } diff --git a/releng/org.eclipse.cdt.target/cdt.target b/releng/org.eclipse.cdt.target/cdt.target index 78a7fbd0478..4a3d0920c19 100644 --- a/releng/org.eclipse.cdt.target/cdt.target +++ b/releng/org.eclipse.cdt.target/cdt.target @@ -1,13 +1,13 @@ - + - + @@ -195,7 +195,7 @@ - +