https://bz.apache.org/bugzilla/show_bug.cgi?id=65424

--- Comment #1 from ED-Apache <[email protected]> ---
Created attachment 37934
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37934&action=edit
Patch to fix deadlock in Netbeans ANT console

I found a way to circumvent the deadlock: don't hold the lock during
introspection but only when filling the HELPERS map (HELPERS is a Hashtable and
is already "synchronized" at method level).

The synchronized (HELPERS) {...} block put the result in the map if not already
in (eg. another thread requested an InstrospectionHelper on the same class).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to