[
https://issues.jboss.org/browse/JBIDE-12405?page=com.atlassian.jira.plugi...
]
Victor Rubezhny commented on JBIDE-12405:
-----------------------------------------
I cannot reproduce it while debugging.
Are you sure that there is no validation invoked for "copy-pasted" strings?
Can you provide steps to reproduce?
I see that all the "pasted strings" are passed to the validator, but there are
no output error/warning messages returned in some cases for the according lines of text.
There are many output ValidationMessages may come from the Validator to the Reporter, but
mostly they aren't associated with the changed (copy/pasted) line number.
For example, I'm pasting a string with EL into line 100. So I supposed that if I'm
asking the validator to process a string in line 100 then it should process it and return
a ValidationMessage (if some error found) that points to line 100. But validator reports
many errors for completely other lines, not the line 100.
This is really strange behavior of validator.
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