This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
[Bug java/18682] New: gcj doesnt reject invalid code
- From: "konqueror at gmx dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: java-prs at gcc dot gnu dot org
- Date: 26 Nov 2004 17:12:37 -0000
- Subject: [Bug java/18682] New: gcj doesnt reject invalid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
GCJ does not reject the following invalid code:
public class NullTest
{
public static void main (String[] args)
{
int index = 1;
if (index == null)
index++;
}
}
--
Summary: gcj doesnt reject invalid code
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: konqueror at gmx dot de
CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18682