jochen 2005/07/08 07:45:07 Modified: . status.xml src/js/org/apache/ws/jaxme/js/util JavaParser.java Log: The JavaParser didn't handle multidimensional arrays properly. Submitted by: [EMAIL PROTECTED] Revision Changes Path 1.59 +4 -0 ws-jaxme/status.xml Index: status.xml =================================================================== RCS file: /home/cvs/ws-jaxme/status.xml,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- status.xml 6 Jul 2005 21:34:14 -0000 1.58 +++ status.xml 8 Jul 2005 14:45:07 -0000 1.59 @@ -42,6 +42,10 @@ Fixed that the handler and driver classes could not be compiled, if enumerations had default values. </action> + <action dev="JW" type="fix" context="js"> + The JavaParser didn't handle multidimensional arrays + properly. (Frederic Ahring, [EMAIL PROTECTED]) + </action> </release> <release version="0.4" date="2005-May-19"> <action dev="JW" type="fix" context="xs"> 1.8 +4 -0 ws-jaxme/src/js/org/apache/ws/jaxme/js/util/JavaParser.java Index: JavaParser.java =================================================================== RCS file: /home/cvs/ws-jaxme/src/js/org/apache/ws/jaxme/js/util/JavaParser.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- JavaParser.java 9 Sep 2004 00:41:46 -0000 1.7 +++ JavaParser.java 8 Jul 2005 14:45:07 -0000 1.8 @@ -168,6 +168,10 @@ break; case JavaTokenTypes.ARRAY_DECLARATOR: sb.append("[]"); + for (AST child = pAST.getFirstChild(); child != null; + child = child.getNextSibling()) { + parseIdentifier(child, sb); + } break; default: throw new IllegalStateException("Unknown token: " + pAST.getType());
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]