You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2015/05/18 19:21:01 UTC

[jira] [Closed] (OFBIZ-6291) Update code to check for types rather than throw ClassCastException

     [ https://issues.apache.org/jira/browse/OFBIZ-6291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Crum closed OFBIZ-6291.
------------------------------
       Resolution: Fixed
    Fix Version/s: Upcoming Branch

ClassCastException fixed in rev 1680058. Thanks!

> Update code to check for types rather than throw ClassCastException
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-6291
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6291
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk, Upcoming Branch
>            Reporter: Gareth Carter
>            Assignee: Adrian Crum
>            Priority: Trivial
>             Fix For: Upcoming Branch
>
>         Attachments: LocalizedConverters.patch, minilang_compare.patch, minilang_compare_r1675655.patch
>
>
> framework/minilang/src/org/ofbiz/minilang/method/conditional/Compare.java
> framework/base/src/org/ofbiz/base/util/ObjectType.java
> framework/minilang/src/org/ofbiz/minilang/MiniLangUtil.java
> all throw ClassCastExceptions and are ignored instead of checking types
> This caused issues in debugging when adding a ClassCastException breakpoint



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)