You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (Commented) (JIRA)" <de...@myfaces.apache.org> on 2012/03/08 15:35:57 UTC

[jira] [Commented] (MYFACES-3491) Unable to use direct char[] access of java.lang.String error on appengine

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

Leonardo Uribe commented on MYFACES-3491:
-----------------------------------------

Changed default to false. That code comes from grails StreamCharBuffer, that was adapted to use into MyFaces
                
> Unable to use direct char[] access of java.lang.String error on appengine
> -------------------------------------------------------------------------
>
>                 Key: MYFACES-3491
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3491
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.1.6
>         Environment: appengine
>            Reporter: lucio piccoli
>            Assignee: Leonardo Uribe
>             Fix For: 2.0.13, 2.1.7
>
>
> hi all
> i am getting the following error when running on appengine.
> Unable to use direct char[] access of java.lang.String
> i found some src code that alowed for onfiguration of the the chararray access.
> http://svn.apache.org/repos/asf/myfaces/core/trunk/shared/src/main/java/org/apache/myfaces/shared/util/StringCharArrayAccessor.java
> it uses a poperty to disable using the char access.
> static volatile boolean enabled = !Boolean
>             .getBoolean("oam.stringchararrayaccessor.disabled");
> where is this property set? 
> it is not documented anywhere.

--
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