This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug java/13800] New: gcj fails to compile a class that extends a class in an external lib


gcj fails with:

  [javac] /var/ccm-devel/dev/richardl/cms/core/src/com/arsdigita/search/lucen\
e/TypeSpecificFilter.java:0: internal compiler error: tree check: expected clas\
s 'd', have 'x' (identifier_node) in check_inner_circular_reference, at java/pa\
rse.y:5212

when compiling a class that extends another class in an external library. In the
above case, TypeSpecificFilter extends Filter, which is not in the source tree,
but supplied in a JAR on the classpath.

I have confirmed this problem also exists with a class that extends
java.awt.Container:

    [javac] /var/ccm-devel/dev/richardl/cms/core/src/com/arsdigita/toolbox/rebo\
p/GenericComponent.java:0: internal compiler error: tree check: expected class \
'd', have 'x' (identifier_node) in check_inner_circular_reference, at java/pars\
e.y:5212

(To test this, I edited the respective class in the source tree to not extend
any class at all, and was able to continue with compiling the tree.)

[richardl@andrew cms]$ gcj --version
gcj (GCC) 3.5.0 20040119 (experimental)

-- 
           Summary: gcj fails to compile a class that extends a class in an
                    external lib
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: richardl at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13800


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