[jboss-jira] [JBoss JIRA] (JBWEB-281) Inconsistent use of genStringAsCharArray.

RH Bugzilla Integration (JIRA) jira-events at lists.jboss.org
Wed Oct 23 12:41:02 EDT 2013


    [ https://issues.jboss.org/browse/JBWEB-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12824374#comment-12824374 ] 

RH Bugzilla Integration commented on JBWEB-281:
-----------------------------------------------

Jeremy Whiting <jwhiting at redhat.com> made a comment on [bug 1022634|https://bugzilla.redhat.com/show_bug.cgi?id=1022634]

Description of problem:
 The version of jbossweb 7.2.0.GA includes an inconsistent name for enabling char array type rather than using String.

Version-Release number of selected component (if applicable):
7.2.0.GA

How reproducible:
Always.

Steps to Reproduce:
1. Deploy a web application with a really simple Hello World JSP. Use a browser to request the JSP. Add server configuration to enable the use of char array.

<configuration>
   <jsp-configuration generate-strings-as-char-arrays="true"/>
</configuration>

2. Inspect generated source code for the Servlet (generated from the JSP).
Hint: see the code starting with out.write(

Actual results:
String type is used to hold the jsp character data used to generate a response.

Expected results:
char array is used to hold jsp character data used to generate a response.

Additional info:
                
> Inconsistent use of genStringAsCharArray.
> -----------------------------------------
>
>                 Key: JBWEB-281
>                 URL: https://issues.jboss.org/browse/JBWEB-281
>             Project: JBoss Web
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tomcat
>    Affects Versions: JBossWeb-7.2.1.GA
>         Environment: All environments.
>            Reporter: Jeremy Whiting
>            Assignee: Remy Maucherat
>             Fix For: JBossWeb-7.3.0.GA
>
>
>  The JSP configuration property "genStringAsCharArray" is inconsistently named in jbossweb. This means the enabling of the feature for using char array type rather than String in generated Servlet code is not enabled.
>  This issue has been fixed upstream in the 7.0 branch of Tomcat hosted at Apache.
>  Can this patch be ported to jbossweb so that the 6.2 version of EAP includes this fix ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list