public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* java/9157: SEGV on bad java source
@ 2003-01-03 17:56 Anthony Green
  0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2003-01-03 17:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         9157
>Category:       java
>Synopsis:       SEGV on bad java source
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          ice-on-illegal-code
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 03 09:56:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Green
>Release:        3.3 20021212 (experimental)
>Organization:
>Environment:
System: Linux escape 2.4.18-18.8.0 #1 Thu Nov 14 00:10:29 EST 2002 i686 i686 i386 GNU/Linux
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/green/FSF/GCC/HEAD/gcc/configure --prefix=/home/green/latest/i --enable-languages=c,c++,java : (reconfigured) 
>Description:
This should give an "incompatible type" message, not a segv:

public class AddString
{
  public String add (int k)
  {
    // This next line is bad, but currently SEGVs the compiler
    String r = "foo" + (k < 10) ? "0" : "";
    return r;
  }
}

>How-To-Repeat:
Try compiling AddString with gcj
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-01-03 17:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-03 17:56 java/9157: SEGV on bad java source Anthony Green

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).