Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » SWT_AWT.new_Frame never returns on Linux
SWT_AWT.new_Frame never returns on Linux [message #1837880] Tue, 09 February 2021 13:15
Eclipse UserFriend
Hi,
I'm providing a plugin which is working fine since many years.
Yet i face an issue on Linux since the version 2020-09 (if i'm correct the first version installed with its own JRE).

In the code below the call to 'SWT_AWT.new_Frame' never returns but does not fire any error (the 'After' debug print won't be displayed).
Do you have any idea?

NOTE:

  • issue occurs with default JRE on Linux (version 14 in Eclipse 2020-09)
  • but same code is working if i update the eclipse.ini file to point to a JRE 11
  • and same code is also working on Windows with the default JRE version 14...


Code extract:
public class MyView extends ViewPart
{
....
@Override
public void createPartControl(final Composite parent)
{
Composite viewComposite = new Composite(parent, parent.getStyle() | SWT.EMBEDDED);
System.out.println("########## Before");
frame = SWT_AWT.new_Frame(viewComposite);
System.out.println("########## After");
Previous Topic:Deploy Eclipse RCP based IDE to cloud
Next Topic:Display progress bar when opening an editor takes a long time
Goto Forum:
  


Current Time: Mon Feb 10 19:26:44 GMT 2025

Powered by FUDForum. Page generated in 0.04198 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top