public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/24835] New: gcj accepts invalid code with static final variables
@ 2005-11-13 16:16 pinskia at gcc dot gnu dot org
2005-11-14 13:19 ` [Bug java/24835] " pinskia at gcc dot gnu dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-13 16:16 UTC (permalink / raw)
To: java-prs
The following code is invalid:
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
class a
{
private static final MessageDigest md5Digest;
static
{
try
{
md5Digest = MessageDigest.getInstance("MD5");
}
catch (NoSuchAlgorithmException _)
{
md5Digest = null;
}
}
}
-------
But is accepted.
--
Summary: gcj accepts invalid code with static final variables
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: accepts-invalid
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24835
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/24835] gcj accepts invalid code with static final variables
2005-11-13 16:16 [Bug java/24835] New: gcj accepts invalid code with static final variables pinskia at gcc dot gnu dot org
@ 2005-11-14 13:19 ` pinskia at gcc dot gnu dot org
2006-04-10 19:04 ` pinskia at gcc dot gnu dot org
2007-01-09 20:52 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-14 13:19 UTC (permalink / raw)
To: java-prs
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-14 13:19 -------
Confirmed, since this was a split off.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2005-11-14 13:19:28
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24835
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/24835] gcj accepts invalid code with static final variables
2005-11-13 16:16 [Bug java/24835] New: gcj accepts invalid code with static final variables pinskia at gcc dot gnu dot org
2005-11-14 13:19 ` [Bug java/24835] " pinskia at gcc dot gnu dot org
@ 2006-04-10 19:04 ` pinskia at gcc dot gnu dot org
2007-01-09 20:52 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-04-10 19:04 UTC (permalink / raw)
To: java-prs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-04-10 19:04 -------
*** Bug 27104 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vnasardinov at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24835
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug java/24835] gcj accepts invalid code with static final variables
2005-11-13 16:16 [Bug java/24835] New: gcj accepts invalid code with static final variables pinskia at gcc dot gnu dot org
2005-11-14 13:19 ` [Bug java/24835] " pinskia at gcc dot gnu dot org
2006-04-10 19:04 ` pinskia at gcc dot gnu dot org
@ 2007-01-09 20:52 ` tromey at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-09 20:52 UTC (permalink / raw)
To: java-prs
------- Comment #3 from tromey at gcc dot gnu dot org 2007-01-09 20:48 -------
All gcj front end bugs have been fixed by the gcj-eclipse branch merge.
I'm mass-closing the affected PRs.
If you believe one of these was closed in error, please reopen it
with a note explaining why.
Thanks.
--
tromey at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.3.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24835
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-01-09 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-13 16:16 [Bug java/24835] New: gcj accepts invalid code with static final variables pinskia at gcc dot gnu dot org
2005-11-14 13:19 ` [Bug java/24835] " pinskia at gcc dot gnu dot org
2006-04-10 19:04 ` pinskia at gcc dot gnu dot org
2007-01-09 20:52 ` tromey at gcc dot gnu dot org
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).