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


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

        

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to