int i=99 is working however int i = 099 not working
===

In Java, I noticed that when I write 

    int i = 99;

it works fine. However when I say 

    int i = 099;

I get exception as 

    java.lang.RuntimeException: Uncompilable source code - Erroneous tree type: <any>

In IDE, I see red dot saying 

    integer number too large: 099

Why this is not getting compiled when 099 is equivalent to 99.