boolean.getBoolean doesn't work as expected in InjectMetaWorker
---------------------------------------------------------------

                 Key: TAPESTRY-1203
                 URL: http://issues.apache.org/jira/browse/TAPESTRY-1203
             Project: Tapestry
          Issue Type: Bug
          Components: Framework
    Affects Versions: 4.1.1
            Reporter: Darren Gilroy


In InjectMetaWorker Boolean.getBoolean(String name) is used to convert strings 
to primitive booleans.  However, this method converts the value of a system 
property given name to boolean, not the value of the string itself.  
Boolean.parseBoolean is more correct but only available is JDK 1.5

This might be a regression bug from TAPESTRY-902

It was changed a few months ago.
http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/enhance/InjectMetaWorker.java?r1=419064&r2=483838&diff_format=h

Thanks,
Darren.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to