[Bug 1880246] Re: Java desktop application freezes with openjdk 8u252

2022-01-03 Thread Anaïs Huang
From now, I solved it when running Arduino IDE. The process is as following:
1. Uninstall the IDE
2. Delete  `Arduino/` and `.arduino15/` in `~`.
3. Reinstall.
And it never freezes again.
I guess maybe it is due to the fact that I changed my java environment without 
updating the preferences of the app.
Taking Arduino IDE as an example, there is preferences.txt in `.arduino15/`. 
When simply installing a new IDE or uninstalling the original one, the file 
isn't changed automatically.
```bash
$ cat preferences.txt | grep java
preproc.imports.list=java.applet.*,java.awt.Dimension,java.awt.Frame,java.awt.event.MouseEvent,java.awt.event.KeyEvent,java.awt.event.FocusEvent,java.awt.Image,java.io.*,java.net.*,java.text.*,java.util.*,java.util.zip.*,java.util.regex.*
```

My current enviroment is 
Ubuntu 20.04.3 LTS, 5.7.0-050700rc7-generic, java version "17.0.1" 2021-10-19 
LTS.

So maybe the bug only affects openjdk 8u252.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880246

Title:
  Java desktop application freezes with openjdk 8u252

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1880246/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1880246] Re: Java desktop application freezes with openjdk 8u252

2021-12-26 Thread Anaïs Huang
I met the same problem that Java apps with GUI (such as burp and arduino 
IDE)froze quickly when I updated from 16.04 to 18.04. I have tried openJDK and 
Oracle, 8, 11 and 17. And this bug can be reproduced on both ubuntu 18.04 and 
20.04, both kernel 4.5 and 5.7.
Java programs with CLI only are not affected, such as bfg.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880246

Title:
  Java desktop application freezes with openjdk 8u252

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1880246/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1880246] Re: Java desktop application freezes with openjdk 8u252

2021-04-18 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: openjdk-8 (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880246

Title:
  Java desktop application freezes with openjdk 8u252

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1880246/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1880246] Re: Java desktop application freezes with openjdk 8u252

2020-06-10 Thread Albert Cardona
A workaround has been found: launch the application and refrain from
clicking away to any other application. When the Fiji java application
is fully launched and ready, then it isn't frozen. Seems to work
reliably so far.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880246

Title:
  Java desktop application freezes with openjdk 8u252

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1880246/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1880246] Re: Java desktop application freezes with openjdk 8u252

2020-06-08 Thread Albert Cardona
Update: if run the Fiji launcher ```Image-linux64 --system``` (runs Fiji
with java 8u252) and don't click anywhere until the Fiji window is open
and ready, then the UI is responsive as expected (i.e. all is good).

But if I click away to another application while Fiji is launching, then
the UI, when ready, is frozen.

A workaround is then to either be patient and not click anywhere, or to
use the 8u172 java bundled with Fiji, which doesn't have this UI
freezing problem. (Merely run Fiji like ```ImageJ-linux64```, assuming
the Fiji.app/java/linux-amd64/ folder is populated with java jdk 8u172).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880246

Title:
  Java desktop application freezes with openjdk 8u252

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1880246/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs