Skip to content

Inline xtext.common.types.shared.jdt38 into xtext.xbase.ui#3729

Open
HannesWell wants to merge 1 commit into
eclipse-xtext:mainfrom
HannesWell:inline-xtext.common.types.shared.jdt38
Open

Inline xtext.common.types.shared.jdt38 into xtext.xbase.ui#3729
HannesWell wants to merge 1 commit into
eclipse-xtext:mainfrom
HannesWell:inline-xtext.common.types.shared.jdt38

Conversation

@HannesWell

Copy link
Copy Markdown
Contributor

Fixes #3718

While implementing this I noticed that just inlining the fragment into its host org.eclipse.xtext.common.types.shared and adding the required (optional) dependencies leads to a dependency cycle with org.eclipse.xtext.xbase.ui and is therefore not feasible.
Since OriginalEditorSelector requires types from org.eclipse.xtext.xbase.ui, I found that org.eclipse.xtext.xbase.ui is probably the better target.
Placing it there does not require the addition of any new dependency in the target bundle and should not make a difference since org.eclipse.xtext.xbase.ui was always a prerequisite to make the OriginalEditorSelector work.
And since the DebugPluginListener is only referenced by OriginalEditorSelector I moved it into org.eclipse.xtext.xbase.ui too.

Additionally this fixes some warnings and avoids Guava in the moved classes.

@cdietrich and @szarnekow, please have a look.

@HannesWell HannesWell force-pushed the inline-xtext.common.types.shared.jdt38 branch from a2754ea to 71ff1d1 Compare June 5, 2026 08:16
@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown

Test Results

  8 064 files  + 4    8 064 suites  +4   3h 50m 51s ⏱️ + 9m 3s
 43 169 tests ± 0   42 584 ✅ + 7    584 💤 ±0  1 ❌  - 7 
212 388 runs  +23  209 462 ✅ +27  2 921 💤 +3  5 ❌  - 7 

For more details on these failures, see this check.

Results for commit 23493f6. ± Comparison against base commit ae4a39c.

♻️ This comment has been updated with latest results.

@cdietrich

Copy link
Copy Markdown
Contributor

@iloveeclipse how do you solve this is your codebase? do you depend on the fragment + xbase.ui?

@iloveeclipse

Copy link
Copy Markdown
Contributor

how do you solve this is your codebase? do you depend on the fragment + xbase.ui?

We ignore it :(

@HannesWell HannesWell force-pushed the inline-xtext.common.types.shared.jdt38 branch from 71ff1d1 to 23493f6 Compare June 11, 2026 06:52
@HannesWell

Copy link
Copy Markdown
Contributor Author

Is there anything missing here or do you want me to adjust something?

I just resolved the conflicts and rebased this on the latest master commit.

@cdietrich

Copy link
Copy Markdown
Contributor

i cannot judge so leave to @szarnekow to find time to review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inline org.eclipse.xtext.common.types.shared.jdt38 fragment?

3 participants