https://bugzilla.novell.com/show_bug.cgi?id=226826 Summary: gcj: wrong error message Product: openSUSE 10.2 Version: RC 5 Platform: x86 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: jengelh@gmx.de QAContact: qa@suse.de GCJ produces a wrong error message when implicitly downgrading case labels: $ gcj test.java --main=test -o test test.java: In class 'test': test.java: In method 'test.main(java.lang.String[])': test.java:6: error: Incompatible type for case. Can't convert ‘int’ to ‘int’. case 131072: ^ 1 error Sun Java does it right: $ javac test.java test.java:6: possible loss of precision found : int required: short case 131072: ^ 1 error (Convert "int" to "int" is wrong -- should be "int" to "short") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.