This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


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

java/2412: jv-scan reports parse error



>Number:         2412
>Category:       java
>Synopsis:       jv-scan reports parse error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 28 03:56:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Mika Riekkinen
>Release:        unknown-1.0
>Organization:
>Environment:
> gcj --version
3.0
>Description:
jv-scan reports parse error on the following code.

public class bug1
{
    Class c = Object[].class;
}

It is "[].class" that causes parse error.
>How-To-Repeat:

>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]