BZ #34: Subtype Contraint Violated error

Status fields:

creation_ts:2006-12-11 20:46
component:unspecified
version:0.97
rep_platform:All
op_sys:Linux
bug_status:RESOLVED
resolution:FIXED
reporter:fkung@redhat.com
see Classpath PR30150 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30150)

Ant tasks are failing with

java.lang.LinkageError: subtype constraint violated (java.lang.String is not a
subclass of java.lang.Class)

But the relevent code is Class formatClass = java.lang.Numer.class;

Mark suspects something to do with the verifier getting confused over the
bytecode (so this could potentially be an ecj bug too)...

Comment #1 by twisti@complang.tuwien.ac.at on 2007-08-21 11:25:43

Is that bug still valid?

Comment #2 by fkung@redhat.com on 2007-08-21 19:02:21

I'm no longer seeing this problem in svn head.