cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gabriel Gruber (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COCOON-2325) <jx:forEach...> returns exactly one item from non-empty collection under jdk 1.6.0_23+
Date Wed, 25 Jul 2012 16:27:34 GMT

    [ https://issues.apache.org/jira/browse/COCOON-2325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422382#comment-13422382
] 

Gabriel Gruber commented on COCOON-2325:
----------------------------------------

We had the same problem and it occured in our case only under these curcumstances:
- at least some concurrent access to the page using the <jx:forEach..>
- 64bit jdk 1.6

We began debugging the JXTemplate Generator code and experienced some weird behavior. Variables
in eclipse having one value, but conditions behaving not consistent to that value...  
The only solution we found was to either go back to 32bit java or switch to JRockit JVM...
Maybee the problem is gone with JDK 1.7 (as alot of  JRockit code  has gone into it)
                
> <jx:forEach...> returns exactly one item from non-empty collection under jdk 1.6.0_23+
> --------------------------------------------------------------------------------------
>
>                 Key: COCOON-2325
>                 URL: https://issues.apache.org/jira/browse/COCOON-2325
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Templating
>    Affects Versions: 2.2
>            Reporter: Vasily E. Moskaljov
>            Assignee: Javier Puerto
>
> When cocoon 2.2 running on jdk 1.6.0_23+ in some circumstances <jx:forEach...>
constantly return only first value from any non-empty collection.
> Not affected in jdk 1.6.0_18 and lower.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message