myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonardo Uribe <lu4...@gmail.com>
Subject Re: Unable to use direct char[] access of java.lang.String error on appengine
Date Thu, 08 Mar 2012 04:11:04 GMT
Hi

It seems to be an issue related to some performance improvements done
in 2.1.6 (Use grails StreamCharBuffer).

Please create an issue in:

https://issues.apache.org/jira/browse/MYFACES

I'll solve this issue, disabling that hack by default, because in GAE
it is not possible to set system properties.
Thanks for report it.

regards,

Leonardo Uribe

2012/3/7 lucio piccoli <lucio@asteriski.com>:
> 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.
>
> -lp

Mime
View raw message