Bug 551 : synchronised as a method gets obliterated.
Last modified: 2007-05-06 15:43




Status:
RESOLVED
Resolution:
DUPLICATE of bug 136
Priority:
P2
Severity:
normal

 

Reporter:
JohnG
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2007-05-01 12:27
Trying to do some threaded programming, and according to
http://java.sun.com/j2se/1.4.2/docs/guide/misc/threadPrimitiveDeprecation.html

try{
synchronized(this)
{
//stuff
}
}catch(InterruptedException e)
{}

is the "nice" way to do thread pausing/resuming.

However when the .pde files get joined together into a single .java file
for compiling, the above code gets mangled into:

try
{
synchronized(catch(InterruptedException e)
{}

Which obviously throws many errors.
Additional Comment #1 From fry 2007-05-06 15:43


*** This bug has been marked as a duplicate of 136 ***