[ http://jira.codehaus.org/browse/JIBX-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sosnoski closed JIBX-285. -------------------------------- > 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 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs