[
https://jira.jboss.org/jira/browse/JBIDE-4534?page=com.atlassian.jira.plu...
]
Maxim Areshkau commented on JBIDE-4534:
---------------------------------------
Why "WebProject.getInstance(xm).getTaglibMapping().revalidate()" shoul be called
in VpeController init method?
By my opinion it's better call from VpeController.init.
Execution JUnit tests for VPE sometimes sleeps for long time
------------------------------------------------------------
Key: JBIDE-4534
URL:
https://jira.jboss.org/jira/browse/JBIDE-4534
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Visual Page Editor core
Reporter: Maxim Areshkau
Assignee: Maxim Areshkau
Priority: Critical
Fix For: 3.1.0.M3
Attachments: MainThread.txt, ThradWhichBlocksMaiinThread.txt
Execution of junit tests sometimes sleeps. Hard to reproduce.
In VpeController see line 266, place of main thread sleep.
if (xm != null) {
WebProject.getInstance(xm).getTaglibMapping().revalidate(
WebAppHelper.getWebApp(xm));
}
Method 'revalidate' is synchronized and blocked by other thread.
See threads stacks in attachment.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira