This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
java/5640: gcj references wrong class in qualified method invocation
- From: ebb9 at email dot byu dot edu
- To: gcc-gnats at gcc dot gnu dot org
- Date: 9 Feb 2002 09:53:38 -0000
- Subject: java/5640: gcj references wrong class in qualified method invocation
- Reply-to: ebb9 at email dot byu dot edu
>Number: 5640
>Category: java
>Synopsis: gcj references wrong class in qualified method invocation
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: wrong-code
>Submitter-Id: net
>Arrival-Date: Sat Feb 09 01:56:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Eric Blake
>Release: 3.0.4
>Organization:
>Environment:
cygwin
>Description:
>From the Classpath mailing list:
http://mail.gnu.org/pipermail/classpath/2002-February/001909.html
This front-end bug in emitted class files, if fixed, will expose bugs in backend jits the same way classes compiled by JDK 1.4 or jikes 1.15a will.
>How-To-Repeat:
>Fix:
When emitting a qualified field or method reference, JLS 13 requires that the compiler link the reference to the type of the qualifying expression; even if that class only inherits the field or method.
>Release-Note:
>Audit-Trail:
>Unformatted: