From: Steven Schwarz <schwarz@solekai.com>
To: Archie Cobbs <archie@dellroad.org>
Cc: Thomas Zander <zander@kde.org>,
mauve-discuss@sources.redhat.com, classpath@gnu.org,
Steven Schwarz <schwarz@solekai.com>
Subject: Re: can Mauve help me test a PersonalJava implementation?
Date: Fri, 29 Apr 2005 16:46:00 -0000 [thread overview]
Message-ID: <XFMail.20050429094200.schwarz@solekai.com> (raw)
In-Reply-To: <42725362.3020902@dellroad.org>
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
next prev parent reply other threads:[~2005-04-29 16:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 22:52 Steven Schwarz
2005-04-29 9:36 ` Thomas Zander
2005-04-29 15:17 ` Steven Schwarz
2005-04-29 15:31 ` Dalibor Topic
2005-04-29 15:33 ` Archie Cobbs
2005-04-29 16:39 ` Steven Schwarz
2005-04-29 16:46 ` Steven Schwarz [this message]
2005-05-09 16:19 ` Tom Tromey
2005-04-29 16:45 ` Thomas Zander
2005-04-30 23:28 ` Tom Tromey
2005-05-02 16:44 ` Steven Schwarz
2005-05-02 17:03 ` Thomas Zander
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=XFMail.20050429094200.schwarz@solekai.com \
--to=schwarz@solekai.com \
--cc=archie@dellroad.org \
--cc=classpath@gnu.org \
--cc=mauve-discuss@sources.redhat.com \
--cc=zander@kde.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).