[
https://issues.jboss.org/browse/JBIDE-12405?page=com.atlassian.jira.plugi...
]
Alexey Kazakov commented on JBIDE-12405:
----------------------------------------
It does not work as expected since it should work for everyone. Not only for you ;)
Regarding limitations of number of reported problems. It's another issue.
Java validator has limitiation too. By default they report only first 100 problems. But
JBT validator is slower then JDT so we report only first 20 by default per validator.
It means that if you have for example 30 EL problems and 5 CDI problems on the file then
you will get 20 EL warnings/errors and 5 CDI waarnings/errors. 25 in total.
But there is a problem with random order of such problem annotations. So if you have 30
problems on the file it will mark not just 20 first but some 20 of 30 in random order.
It's known issue but let's try to fix it. Let's create a new issue for that.
As-you-type validation works slow when many strings are being added
-------------------------------------------------------------------
Key: JBIDE-12405
URL:
https://issues.jboss.org/browse/JBIDE-12405
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common/jst/core
Affects Versions: 3.4.0.M1
Reporter: Alexey Kazakov
Assignee: Victor Rubezhny
Priority: Blocker
Fix For: 3.4.0.M1
1. Create a cdi bean class.
2. Add the following lines to any method of the class:
{code}
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
System.out.println("#{test.bytess} sf sdf " + "" + "" +
"");
{code}
3. Repeat #2 a ten times.
4. There are 0.5n(n+1) as-you-type validation thread created, where n is a nubmer of
srings of the file.
So if you copied a hundred strings you will have 5050 threads.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira