jochen 2005/07/08 07:45:17
Modified: src/js/org/apache/ws/jaxme/js/util Tag: v0_4 JavaParser.java
. Tag: v0_4 status.xml
Log:
The JavaParser didn't handle multidimensional arrays properly.
Submitted by: [EMAIL PROTECTED]
Revision Changes Path
No revision
No revision
1.7.2.1 +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.7.2.1
diff -u -r1.7 -r1.7.2.1
--- JavaParser.java 9 Sep 2004 00:41:46 -0000 1.7
+++ JavaParser.java 8 Jul 2005 14:45:17 -0000 1.7.2.1
@@ -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());
No revision
No revision
1.45.2.12 +4 -0 ws-jaxme/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/ws-jaxme/status.xml,v
retrieving revision 1.45.2.11
retrieving revision 1.45.2.12
diff -u -r1.45.2.11 -r1.45.2.12
--- status.xml 5 Jul 2005 08:03:42 -0000 1.45.2.11
+++ status.xml 8 Jul 2005 14:45:17 -0000 1.45.2.12
@@ -39,6 +39,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">
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]