[ 
http://jira.codehaus.org/browse/JIBX-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=172304#action_172304
 ] 

jogotec commented on JIBX-290:
------------------------------

To fix the append issues call the append method with a char[] not with a String
e.g.:  .append(text.toCharArray(), i, x); instead of .append(text, i, x); 

To fix the IllegalStateException issue don't use the constructor with (String 
message, Exception e) instead use the costructor without the exception.


> JIBX does not run under IBM JVM 1.4.2
> -------------------------------------
>
>                 Key: JIBX-290
>                 URL: http://jira.codehaus.org/browse/JIBX-290
>             Project: JiBX
>          Issue Type: Bug
>          Components: CodeGen
>            Reporter: jogotec
>
> There are some little issues, when running JIBX under the IBM JVM:
>  [javac] Compiling 108 source files to C:\jibx_1_2_1\jibx\build\classes\tools
>  [javac] 
> C:\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\SchemaDocumentationGenerator.java:187:
>  cannot resolve symbol
>  [javac] symbol  : method append (java.lang.String,int,int)
>  [javac] location: class java.lang.StringBuffer
>  [javac]             buff.append(text, base, scan);
>  [javac]                 ^
>  [javac] 
> C:\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\SchemaDocumentationGenerator.java:191:
>  cannot resolve symbol
>  [javac] symbol  : method append (java.lang.String,int,int)
>  [javac] location: class java.lang.StringBuffer
>  [javac]         buff.append(text, base, text.length());
>  [javac]             ^
>  [javac] 
> C:\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\SourceBuilder.java:357: 
> cannot resolve symbol
>  [javac] symbol  : constructor IllegalStateException 
> (java.lang.String,java.io.IOException)
>  [javac] location: class java.lang.IllegalStateException
>  [javac]                 throw new IllegalStateException("Error in source 
> generation", e);
>  [javac]                       ^
>  [javac] 
> C:\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\PackageOrganizer.java:258:
>  cannot resolve symbol
>  [javac] symbol  : method append (java.lang.String,int,int)
>  [javac] location: class java.lang.StringBuffer
>  [javac]                 buff.append(pname, split, mark + 1);
>  [javac]                     ^
>  [javac] 
> C:\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\PackageOrganizer.java:260:
>  cannot resolve symbol
>  [javac] symbol  : method append (java.lang.String,int,int)
>  [javac] location: class java.lang.StringBuffer
>  [javac]                 buff.append(pname, split + 1, mark + 1);
>  [javac]                     ^
>  [javac] 
> C:\\jibx_1_2_1\jibx\build\src\org\jibx\schema\codegen\PackageOrganizer.java:268:
>  cannot resolve symbol
>  [javac] symbol  : method append (java.lang.String,int,int)
>  [javac] location: class java.lang.StringBuffer
>  [javac]             buff.append(pname, 0, mark + 1);
>  [javac]                 ^
>  [javac] 6 errors

-- 
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

        

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to