public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/1259: string constants not handled properly
@ 2003-05-03  2:44 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2003-05-03  2:44 UTC (permalink / raw)
  To: apbianco, gcc-bugs, gcc-prs, java-prs, tromey

Synopsis: string constants not handled properly

State-Changed-From-To: open->analyzed
State-Changed-By: tromey
State-Changed-When: Sat May  3 02:44:46 2003
State-Changed-Why:
    Still a bug

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=1259


^ permalink raw reply	[flat|nested] 2+ messages in thread

* java/1259: string constants not handled properly
@ 2000-12-20 12:23 Tom Tromey
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Tromey @ 2000-12-20 12:23 UTC (permalink / raw)
  To: java-gnats

>Number:         1259
>Category:       java
>Synopsis:       string constants not handled properly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 20 12:18:23 PST 2000
>Closed-Date:    
>Last-Modified:  
>Originator:     Tom Tromey
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
According to section 12.4.1 of the JVM, a class or
interface shouldn't be initialized if a field is
passively referenced; this includes references to
"static final" (or equiv.) fields whose value is a
compile-time constant expression.  The latter is
defined (section 15.27) to include Strings.

We don't seem to handle this at all.

I checked in the "stringconst.java" test which demonstrates
the bug.  However, that is just one instance; I suspect
there are others.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

Formerly PR gcj/241

>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-03  2:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-03  2:44 java/1259: string constants not handled properly tromey
  -- strict thread matches above, loose matches on Subject: below --
2000-12-20 12:23 Tom Tromey

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).