From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4184 invoked by alias); 29 Apr 2005 16:46:11 -0000 Mailing-List: contact mauve-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: mauve-discuss-owner@sources.redhat.com Received: (qmail 27183 invoked from network); 29 Apr 2005 16:42:01 -0000 Received: from unknown (HELO solekai01.dm.solekai.com) (64.73.238.72) by sourceware.org with SMTP; 29 Apr 2005 16:42:01 -0000 Received: from tivo2.tivo.solekai.com ([192.168.2.251]) by solekai01.dm.solekai.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 29 Apr 2005 09:42:00 -0700 Message-ID: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <42725362.3020902@dellroad.org> Date: Fri, 29 Apr 2005 16:46:00 -0000 Reply-To: Steven Schwarz From: Steven Schwarz To: Archie Cobbs Subject: Re: can Mauve help me test a PersonalJava implementation? Cc: Thomas Zander , mauve-discuss@sources.redhat.com, classpath@gnu.org, Steven Schwarz X-OriginalArrivalTime: 29 Apr 2005 16:42:00.0311 (UTC) FILETIME=[5D607070:01C54CDA] X-SW-Source: 2005-q2/txt/msg00007.txt.bz2 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: java.lang.NoClassDefFoundError: java/lang/Comparable 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? Thanks, sts 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 >> posting. >> >> 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 > > __________________________________________________________________________ > Archie Cobbs * CTO, Awarix * http://www.awarix.com