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.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.