Menu

#3 umberFormatException

v1.0 (example)
open
nobody
None
5
2007-07-06
2007-07-06
No

NumberFormatException thrown in file AwkParser, line 3719, Class AwkSymbolTable:

AST addINTEGER(String integer) { return new Integer_AST(Integer.decode(integer)); }

The value of the integer String is "09", causing Integer.decode to interpret it as octal.

I supose the correct line must be:

AST addINTEGER(String integer) { return new Integer_AST(Integer.parseInt(integer)); }

mail cvasquez2@hotmail.com

Discussion


Log in to post a comment.