This is the mail archive of the
kawa@sourceware.cygnus.com
mailing list for the Kawa project.
Re: regression test
- To: Marco Vezzoli <marco dot vezzoli at st dot com>
- Subject: Re: regression test
- From: Per Bothner <per at bothner dot com>
- Date: 11 Feb 2000 20:36:28 -0800
- Cc: kawa at sourceware dot cygnus dot com
- References: <38A3E252.BFD7D435@st.com>
Marco Vezzoli <marco.vezzoli@st.com> writes:
> When I load polytype.scm I get this exception with JDK 1.2 on Solaris
> 2.6
>
> Exception in thread "main" java.lang.ClassFormatError:
> atInteractiveLevel (Repeative method name/signature)
> at java.lang.ClassLoader.defineClass0(Native Method)
It looks like the problem is that the `run' procedure is compiled
into a `run' method:
public static gnu.kawa.util.Pair run()
The same class, like all ModuleBody classes, also overrides the
`run' method inherited from ModuleBody.
Either we need to rename the latter, or we need to provide some
automatic renaming for compiled procedures whose names clash.
I think the latter is the more robust solution, but perhaps
should be done in conjunction with a more general name-mangling cleanup.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/