This is the mail archive of the
java-prs@gcc.gnu.org
mailing list for the Java project.
java/1991: Tree check: expected class 'e', have 'x' (identifier_node) when compiling Tomcat
- To: gcc-gnats at gcc dot gnu dot org
- Subject: java/1991: Tree check: expected class 'e', have 'x' (identifier_node) when compiling Tomcat
- From: dyp at perchine dot com
- Date: 15 Feb 2001 05:24:15 -0000
- Reply-To: dyp at perchine dot com
>Number: 1991
>Category: java
>Synopsis: Tree check: expected class 'e', have 'x' (identifier_node) when compiling Tomcat
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 14 21:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: dyp@perchine.com
>Release: gcc version 2.97 20010214 (experimental)
>Organization:
>Environment:
Configured with: ../gcc/configure --enable-threads=posix --prefix=/home/dyp/opt/gcc --enable-languages=c++,f77,java --enable-libstdcxx-v3
>Description:
./javax/servlet/jsp/tagext/TagData.java
./javax/servlet/jsp/tagext/TagData.java: In class `javax.servlet.jsp.tagext.TagData':
./javax/servlet/jsp/tagext/TagData.java: In method `(java.lang.Object[])':
./javax/servlet/jsp/tagext/TagData.java:106: `[]' can only be applied to arrays. It can't be applied to `java.lang.Object'.
attributes.put(atts[i][0], atts[i][1]);
^
./javax/servlet/jsp/tagext/TagData.java:106: `[]' can only be applied to arrays. It can't be applied to `java.lang.Object'.
attributes.put(atts[i][0], atts[i][1]);
^
./javax/servlet/jsp/tagext/TagData.java:1: Tree check: expected class 'e', have 'x' (identifier_node)
./javax/servlet/jsp/tagext/TagData.java:1: confused by earlier errors, bailing out
>How-To-Repeat:
Try to build latest Tomcat using gcj.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: