Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JiBX 1.2
-
Fix Version/s: JiBX 1.2.2
-
Component/s: BindGen
-
Labels:None
-
Number of attachments :
Description
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)
PackageCustom pack = getPackage(type.substring(0, split));
ClassCustom clas = pack.addClassCustomization(type.substring(split + 1));
return clas;
}
Activity
Dennis Sosnoski
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Assignee | Dennis Sosnoski [ dsosnoski ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] | |
| Fix Version/s | JiBX 1.2.2 [ 15120 ] |
Dennis Sosnoski
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Added test case and corrected problems.