cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enke, Michael" <michael.e...@wincor-nixdorf.com>
Subject pizza compiler error
Date Wed, 17 Jul 2002 16:35:35 GMT
Hi,
I started using Reflection and I had the problem
that code which compiles with Sun's javac
gives me errors when compiling with pizza compiler.


Here is the example:

  Class argType[] = new Class[4];
  argType[0] = String.class;
  argType[1] = String[].class;
  argType[2] = double.class;

// next line makes trouble because of the array of primitive types
  argType[3] = double[].class;

The compilation errors are:

org.apache.cocoon.ProcessingException: Language Exception: org.apache.cocoon.components.language.LanguageException:
Error compiling CXXX_xsp:
Line 2178, column 19:  illegal start of expression
Line 2178, column 33:   expected
Line 2180, column 14:  ']' expected
Line 2180, column 31:   expected
Line 2181, column 14:  ']' expected
Line 2181, column 33:   expected
Line 2182, column 13:   expected
Line 2183, column 7:  illegal start of type
Line 2188, column 8:  illegal start of type
Line 2191, column 4:  illegal start of type
Line 2197, column 17:   expected
...

Does anybody from this list know about this?

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message