[ 
http://www.stripesframework.org/jira/browse/STS-890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12812#comment-12812
 ] 

Marcus Kraßmann commented on STS-890:
-------------------------------------

Hmm, looks like I duplicated STS-873 ...

> String.isEmpty() is not compatible with Java 1.5
> ------------------------------------------------
>
>                 Key: STS-890
>                 URL: http://www.stripesframework.org/jira/browse/STS-890
>             Project: Stripes
>          Issue Type: Bug
>          Components: Validation
>    Affects Versions: Release 1.5.7
>            Reporter: Danilo Ghirardelli
>
> Is Stripes still compatible with Java 1.5?
> If yes, the changes introduced in STS-877 are not compatible with Java 1.5 
> and the library fails to run on Java 1.5 ssytem. The source of the problem is 
> that {{.isEmpty()}} was introduced in the {{String}} class in Java 1.6, so if 
> you still want to be compatible you should use apache commons {{StringUtils}} 
> or any other similar way to check if the string is empty, avoiding the 
> {{isEmpty}} method.
> Otherwise the documentation is outdated and should now say that Stripes 
> doesn't support Java 1.5 anymore.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to