This is the mail archive of the java-prs@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

gcj/323: Gcj doesn't check for static final assigned twice.



>Number:         323
>Category:       gcj
>Synopsis:       Gcj doesn't check for static final assigned twice.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 17 21:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Alex Petit-Bianco
>Release:        unknown-1.0
>Organization:
>Environment:
RHL 6.2, x86
>Description:
Tom found this bug. Consider the following code:

class S {
  private static final int x;
  static {
    x = 34;
    x = 344;
  }
}

gcj should issue an error on the second assignment of `x.'
>How-To-Repeat:
Compile the source code.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]