Re: [Jamvm-general] Compiling Jamvm 1.4.5 - errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Thanks Mark.  This is now corrected, and a new file is on sourceforge.
The original change was tested on Mac OS X, and as HFS+ is case
insensitive it worked.  Something I must remember for the next
release!

The reason that I'm CC-ing this to the Classpath mailing list is
because this mistake reveals that JamVM is overriding the default
Classpath implementation of
sun.reflect.annotation.AnnotationInvocationHandler.java.  This is
because it includes (a non-generics version) of the create helper
patch from Tom Tromey.  As far as I'm aware, this has not been checked
into either the new or the old-trunk yet.

http://www.nabble.com/-cp-patches--RFC%3A-fix-annotation-inheritance-tf2471335.html#a6890685

Thanks,

Rob.


On 2/6/07, Mark Wielaard <mark@xxxxxxxxx> wrote:
Hi Simon,

On Mon, 2007-02-05 at 22:30 +0100, Simon Bøggild wrote:
> I'm trying to compile the new Jamvm 1.4.5, but I'm getting the
> following error:
> [...]
> Any clues to what's going wrong? Is more information needed?

There is a typo in lib/Makefile. See the attached patch from Michel.

Cheers,

Mark


---------- Forwarded message ----------
From:
To:
Date:
Subject:
>From classpath-bounces@xxxxxxx Mon Feb 05 12: 27:59 2007
Received: from mail by gnu.wildebeest.org with spam-scanned (Exim 3.36 #1
       (Debian)) id 1HE20m-0007UJ-00 for <mark@localhost>; Mon, 05 Feb 2007
       12:27:59 +0100
Received: from localhost ([127.0.0.1]) by gnu.wildebeest.org with esmtp
       (Exim 3.36 #1 (Debian)) id 1HE20m-0007UG-00 for <mark@localhost>;
       Mon, 05 Feb 2007 12:27:52 +0100
Delivered-To: markqwk@xxxxxxxxx
Received: from mail.qwknetllc.com [208.71.138.2] by localhost with POP3
       (fetchmail-6.2.5) for mark@localhost (single-drop); Mon, 05 Feb 2007
       12:27:52 +0100 (CET)
Received: (qmail 23080 invoked by uid 399); 5 Feb 2007 11:25:37 -0000
Delivered-To: mark@xxxxxxxxx
X-Envelope-To: mark@xxxxxxxxx
Received: (qmail 23073 invoked by uid 399); 5 Feb 2007 11:25:37 -0000
Received: from unknown (HELO developer.classpath.org) (208.185.251.119) by
       mail.qwknetllc.com with SMTP; 5 Feb 2007 11:25:37 -0000
X-Originating-IP: 208.185.251.119
Received-SPF: softfail (mail.qwknetllc.com: transitioning SPF record at
       gnu.org does not designate 208.185.251.119 as permitted sender)
       identity=mailfrom; client-ip=208.185.251.119;
       envelope-from=<classpath-bounces@xxxxxxx>;
Received: from localhost ([127.0.0.1] helo=developer.classpath.org) by
       developer.classpath.org with esmtp (Exim 4.50) id 1HE1yM-0002UJ-9n;
       Mon, 05 Feb 2007 11:25:22 +0000
Received: from monty-python.gnu.org ([199.232.76.173]) by
       developer.classpath.org with esmtp (Exim 4.50) id 1HE1yE-0002UC-9O for
       classpath@xxxxxxxxxxxxxxxxxxxxxxx; Mon, 05 Feb 2007 11:25:19 +0000
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by
       monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim
       4.52) id 1HE1yD-0000G0-73 for classpath@xxxxxxx;
       Mon, 05 Feb 2007 06:25:13 -0500
Received: from root by ciao.gmane.org with local (Exim 4.43) id
       1HE1y2-00045O-JN for classpath@xxxxxxx; Mon, 05 Feb 2007 12:25:02 +0100
Received: from obelix.objectxp.com ([62.2.156.213]) by main.gmane.org with
       esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <classpath@xxxxxxx>;
       Mon, 05 Feb 2007 12:25:02 +0100
Received: from mcdmx by obelix.objectxp.com with local (Gmexim 0.1
       (Debian)) id 1AlnuQ-0007hv-00 for <classpath@xxxxxxx>; Mon, 05 Feb 2007
       12:25:02 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: classpath@xxxxxxx
From: mcdmx <mcdmx@xxxxxxxxxxxx>
Date: Mon, 05 Feb 2007 12:22:55 +0100
Lines: 34
Message-ID: <eq742f$fk8$1@xxxxxxxxxxxxx>
References: <d58509a80702042026j5253ddb4x9c92c3163d955774@xxxxxxxxxxxxxx>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
X-Complaints-To: usenet@xxxxxxxxxxxxx
X-Gmane-NNTP-Posting-Host: obelix.objectxp.com
User-Agent: Icedove 1.5.0.9 (X11/20061220)
In-Reply-To: <d58509a80702042026j5253ddb4x9c92c3163d955774@xxxxxxxxxxxxxx>
X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4)
Subject: Re: JamVM 1.4.5 released
X-BeenThere: classpath@xxxxxxx
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: classpath.gnu.org
List-Unsubscribe: <http://developer.classpath.org/mailman/listinfo/classpath>,
       <mailto:classpath-request@xxxxxxx?subject=unsubscribe>
List-Archive: <http://developer.classpath.org/pipermail/classpath>
List-Post: <mailto:classpath@xxxxxxx>
List-Help: <mailto:classpath-request@xxxxxxx?subject=help>
List-Subscribe: <http://developer.classpath.org/mailman/listinfo/classpath>,
       <mailto:classpath-request@xxxxxxx?subject=subscribe>
Sender: classpath-bounces@xxxxxxx
Errors-To: classpath-bounces@xxxxxxx
X-SA-Exim-Connect-IP: 127.0.0.1
X-SA-Exim-Mail-From: classpath-bounces@xxxxxxx
X-SA-Exim-Scanned: No (on developer.classpath.org); SAEximRunCond expanded
       to false
X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on nescio
X-Spam-BayesScore: 0.0000
X-Spam-Level:
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham
       version=3.0.3
Delivered-To: localhost-mark@localhost
X-Evolution-Source: imap://mark@xxxxxxxxxxxxxxxx/
Content-Transfer-Encoding: 7bit

on 02/05/2007 05:26 AM Robert Lougher said the following:
> I'm pleased to announce the release of JamVM 1.4.5

Thanks. I had to apply the following patch to get it compiling without errors:

diff -urN jamvm-1.4.5-orig/lib/Makefile.am jamvm-1.4.5/lib/Makefile.am
--- jamvm-1.4.5-orig/lib/Makefile.am    2007-01-16 02:35:04.000000000 +0100
+++ jamvm-1.4.5/lib/Makefile.am 2007-02-05 12:17:55.000000000 +0100
@@ -17,7 +17,7 @@
             $(srcdir)/java/lang/reflect/Method.java \
             $(srcdir)/java/security/VMAccessController.java \
             $(srcdir)/gnu/classpath/VMSystemProperties.java \
-             $(srcdir)/sun/reflect/Annotation/AnnotationInvocationHandler.java \
+             $(srcdir)/sun/reflect/annotation/AnnotationInvocationHandler.java \
             $(srcdir)/gnu/classpath/VMStackWalker.java


diff -urN jamvm-1.4.5-orig/lib/Makefile.in jamvm-1.4.5/lib/Makefile.in
--- jamvm-1.4.5-orig/lib/Makefile.in    2007-02-05 04:23:19.000000000 +0100
+++ jamvm-1.4.5/lib/Makefile.in 2007-02-05 12:17:57.000000000 +0100
@@ -181,7 +181,7 @@
             $(srcdir)/java/lang/reflect/Method.java \
             $(srcdir)/java/security/VMAccessController.java \
             $(srcdir)/gnu/classpath/VMSystemProperties.java \
-             $(srcdir)/sun/reflect/Annotation/AnnotationInvocationHandler.java \
+             $(srcdir)/sun/reflect/annotation/AnnotationInvocationHandler.java \
             $(srcdir)/gnu/classpath/VMStackWalker.java

 DISTCLEANFILES = inst_classes.zip


Cheers,

Michel





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jamvm-general mailing list
Jamvm-general@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/jamvm-general





[Index of Archives]     [Linux Kernel]     [Linux Cryptography]     [Fedora]     [Fedora Directory]     [Red Hat Development]

  Powered by Linux