[ 
http://jira.codehaus.org/browse/JIBX-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Sosnoski resolved JIBX-285.
----------------------------------

         Assignee: Dennis Sosnoski
       Resolution: Fixed
    Fix Version/s: JiBX 1.2.2

Added test case and corrected problems.

> BindGen does not work on classes in the default package
> -------------------------------------------------------
>
>                 Key: JIBX-285
>                 URL: http://jira.codehaus.org/browse/JIBX-285
>             Project: JiBX
>          Issue Type: Bug
>          Components: BindGen
>    Affects Versions: JiBX 1.2
>            Reporter: Alex
>            Assignee: Dennis Sosnoski
>             Fix For: JiBX 1.2.2
>
>
> Trying to run the binding generator on a class in the default package (i.e. 
> no package name) strips the first letter from the class name and fails.
> The bug seems to b in the GlobalCustom class (split + 1).
>     private ClassCustom buildClassCustomization(String type) {
>         int split = type.lastIndexOf('.');
>         if (split < 0) {
>             split = 0;
>         }
>         PackageCustom pack = getPackage(type.substring(0, split));
>         ClassCustom clas = pack.addClassCustomization(type.substring(split + 
> 1));
>         return clas;
>     }

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

        

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to