SWT_AWT.new_Frame never returns on Linux [message #1837880] |
Tue, 09 February 2021 13:15 |
Eclipse User |
|
|
|
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");
|
|
|
Powered by
FUDForum. Page generated in 0.04198 seconds