gcj/131: final field initialized with cast expression not treated as constant

gcb@gnu.org gcb@gnu.org
Sat Jan 8 12:50:00 GMT 2000


>Number:         131
>Category:       gcj
>Synopsis:       final field initialized with cast expression not treated as constant
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 08 12:50:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     gcb@gnu.org
>Release:        gcc version 2.96 20000103 (experimental)
>Organization:
>Environment:
Linux/x86
>Description:
A final static field that is initialized with a cast
expression is not treated as a constant expression (e.g.
as a case value).
>How-To-Repeat:
Compile the above java file (gcj -C or gcj -c).
>Fix:
???
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="const_iface.java"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="const_iface.java"

Y2xhc3MgZmluYWxfY29uc3QKewogICAgc3RhdGljIGZpbmFsIGJ5dGUgQ09OU1QgPSAoYnl0ZSkx
NzsKICAgIAogICAgcHVibGljIHN0YXRpYyB2b2lkIG1haW4gKFN0cmluZ1tdIGFyZ3MpCiAgICB7
Cglzd2l0Y2ggKDEpCgl7CgkgICAgY2FzZSBDT05TVDoJYnJlYWs7Cgl9CiAgICB9Cn0K


More information about the Java-prs mailing list