Menu

#16 Fails to parse correct java code

open
nobody
None
5
2003-09-07
2003-09-07
No

It faills with a perse error on this piece of code:

public String getColumnName(int col)
{
return new String[] {"Method","Count","Time",
"%"} [col];
}

ERROR: jac/samples/bench/Visualize.java[304]:
return new String[] {"Method","Count","Time",
"%"} [col];
parse error

And also on this:
case '˙':

ERROR: jac/util/Strings.java[324]:
case '
parse error

In the latter case, the encoding of my file is
iso-latin-1, so I'm not sure wether it's correct or
not. But javac compiles it.

Discussion


Log in to post a comment.