-
Bug
-
Resolution: Fixed
-
P3
-
unknown, 1.1, 1.1.2, 1.1.4, 1.1.5, 1.1.6
-
1.2
-
generic, x86, sparc
-
generic, solaris_2.5, solaris_2.6, windows_nt
-
Not verified
Name: mc57594 Date: 02/27/97
int i = 100000000000;
I think that the compiler should complain about this.
Rather it says nothing and tries to convert.
After this statement is executed i = 1215752192;
This could be a very very nasty bug that the compiler
could easily warn about.
Tell the programmer that this number requires an "L" or something.
company - Mentor Graphics Corp. , email - ###@###.###
======================================================================
- duplicates
-
JDK-4045103 javac silently accepts illegal integer literals
- Closed
-
JDK-4089855 Javac accepts illegitimate decimal literals of type int and long.
- Closed