[Bug 231111] Re: repaint() in a while ( true ) loop in a java applet freezes whole system

Lr5 Lrfive at gmail.com
Mon Dec 8 13:17:20 UTC 2008


Here's the source code of the applet that caused it: http://pastebin.ca/1279601
I commented out the workaround I created, see comment on line 340.

That's not the exact code that caused the problem as I continued to work
on it, but it should cause the same problem. I can't test it though, as
I reinstalled Ubuntu when I upgraded to 8.10.

The code that caused the problem in its most basic form would be
while ( true )
{
     repaint();
}

For some reason it managed to crash the whole system (instead of just
the program itself, for example), which is strange as it runs on a java
runtime environment which runs on the operating system, so there might
be a problem in either java, Ubuntu or both.

-- 
repaint() in a while ( true ) loop in a java applet freezes whole system
https://bugs.launchpad.net/bugs/231111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list