This is the mail archive of the
mailing list for the Mauve project.
Re: can Mauve help me test a PersonalJava implementation?
- From: Steven Schwarz <schwarz at solekai dot com>
- To: Archie Cobbs <archie at dellroad dot org>
- Cc: Thomas Zander <zander at kde dot org>,mauve-discuss at sources dot redhat dot com,classpath at gnu dot org, Steven Schwarz <schwarz at solekai dot com>
- Date: Fri, 29 Apr 2005 09:42:00 -0700 (PDT)
- Subject: Re: can Mauve help me test a PersonalJava implementation?
- Reply-to: Steven Schwarz <schwarz at solekai dot com>
Ok. I used -target 1.1 and that worked to produce class files that
are acceptable to a JDK 1.1.8 VM. Now the problem is that
SimpleTestHarness won't run on a JDK 1.1.8 VM:
If I go to the labor of crafting a replacement for SimpleTestHarness
that confines itself to 1.1 APIs, will I also find that there are
individual tests for which the subject of the test is a 1.1 API (and
therefore the test earns the JDK1.1 tag) but the way the test is
written drags in 1.2 - 1.5 APIs for the test verification?
I come back to my original question: are people out there really using
the current Mauve with PersonalJava (or JDK 1.1) implementations?
On 29-Apr-2005 Archie Cobbs wrote:
> Steven Schwarz wrote:
>> Thanks for the suggestion to make jars -- that will definitely help
>> make things more convenient, if I can get around something else.
>> Here's the something else:
>> If I compile with a JDK 1.4.2 or 1.5.0 I end up with class files with
>> major.minor version 46.0. If I attempt to run them with a
>> PersonalJava or JDK 1.1.8 VM, I run up against the limitation that
>> those VMs are only empowered to accept classes whose versions are in
>> the range 45.0 .. 45.65535, i.e. strictly before version 46.0. JDKs
>> 1.2.2 and 1.3.1 will produce class files with versions before 46.0,
>> but unfortunately, cannot compile Mauve, as I explained in my previous
>> So I guess my question about whether I can use Mauve in the
>> environment I need to is made equivalent to whether I can find a
>> compiler that will compile Mauve producing classes with version
>> strictly before 46.0. Any suggestions for such a compiler? I've only
>> ever used Sun (or blackdown) JDKs. Will Jikes help?
> Just compile with "-target 1.4" (or whatever).
> Archie Cobbs * CTO, Awarix * http://www.awarix.com