This is the mail archive of the 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]

libgcj/6819: duplicate class registration bug

>Number:         6819
>Category:       libgcj
>Synopsis:       duplicate class registration bug
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 26 08:36:00 PDT 2002
>Originator:     Oskar Liljeblad <>
>Release:        3.1

This is probably an old and known problem:

If you compile a class that also exists in libgcj into an executable, you'll get an error like this when running the executable:

libgcj failure: Duplicate class registration: org.w3c.dom.Attr

Note that the same problem does not occur when running the class with gij.

This (probably) means that if you compile your program with a version of libgcj which doesn't contain class Y, it is not possible to run this program with a newer version of libgcj which does contain class Y. (Granted class Y is compiled into the program in the first place.)



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