[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-3132) An OutOfMemory exeption is thrown by Code assist for "#{messages[ "
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Fri Nov 7 06:10:36 EST 2008
[ https://jira.jboss.org/jira/browse/JBIDE-3132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12437432#action_12437432 ]
Alexey Kazakov commented on JBIDE-3132:
---------------------------------------
Author: scabanovich
Date: 2008-11-06 11:50:29 -0500 (Thu, 06 Nov 2008)
New Revision: 11587
Modified:
trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java
Log:
Loop prevented
Modified: trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java 2008-11-06 16:33:31 UTC (rev 11586)
+++ trunk/common/plugins/org.jboss.tools.common.el.core/src/org/jboss/tools/common/el/internal/core/parser/ELParserImpl.java 2008-11-06 16:50:29 UTC (rev 11587)
@@ -273,7 +273,10 @@
ELArgumentImpl arg = new ELArgumentImpl();
arg.setFirstToken(current);
arg.setLastToken(current);
- if(!hasNextToken()) return arg;
+ if(!hasNextToken()) {
+ setNextToken();
+ return arg;
+ }
setNextToken();
ELExpressionImpl expr = readExpression();
if(expr != null) {
> An OutOfMemory exeption is thrown by Code assist for "#{messages[ "
> -------------------------------------------------------------------
>
> Key: JBIDE-3132
> URL: https://jira.jboss.org/jira/browse/JBIDE-3132
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Affects Versions: 3.0.0.cr1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Priority: Blocker
> Fix For: 3.0.0.cr1
>
>
--
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
More information about the jbosstools-issues
mailing list