Re: [kaffe] m68k-linux with newer libraries

2003-07-07 Thread Dalibor Topic
Hi Kiyo,

--- Kiyo Inaba [EMAIL PROTECTED] wrote:
 Hi again,
 
 I also tries to use newer versioin of clib available with debian-2.2,
 but still the compilation does not work.
 
 The clib version used for debian-2.2 is 2.1.3 and in this release (of
 clib), sockaddr_in6 (defined in 'linux/in6.h') does not have
 sin6_scope_id field. I think one more check should be needed while
 configure to detect whether this field is defined in 'in6.h' or not.

that should be tested in latest configure.in. I've added the check in mid June,
see the diff here:
http://www.kaffe.org/cgi-bin/viewcvs.cgi/kaffe/configure.in.diff?r1=1.206r2=1.207

what does config.log say about that test's success?

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] 1.1.0 on M68k Amiga

2003-07-07 Thread Dalibor Topic
G'day Tony,

--- Tony Wyatt [EMAIL PROTECTED] wrote:

 Trying to get 1.1.0's JIT to work on the Amiga. It runs pre-compiled classes
 OK, but won't compile (ie, run kjc). It falls over with an NPE. The problem
 seems to be that a native method fill InStackTrace is requested with a
 zero codesize, no memory is allocated for the method, and consequently a
 null pointer is detected soon after.

It may not be of much help, but fillInstackTrace is a method provided by
Throwable used to fill in the stack trace when an exception or error is thrown.
Is it the only native method whose jitting fails?
 
 Don't I remember something about library incompatibilities some weeks ago?
 Dalibor, I think you mentioned a new release for testing the other day. I
 thought I had downloaded it, but no. Could you let me have the URL again?

Of course. It includes among other things more configuration tests to degrade
gracefully on systems not supporting IPv6. Unfortunately, you'll still have to
change the too long AC_something line in the configure script, I believe. But
libtool's command line checking should just assign AmigaOS's shell 8K instead
of checking its limit for hours, though ;) I'm still working on getting the
patches for libtool under AmigaOS into their CVS, but it seems that libtool's
patch dude is on vacation ;)

Anyway, here's the link:
http://www.kaffe.org/~robilad/kaffe-1.1.x-cvs-dt-3.tar.gz

As usual, I hope the networking support works on AmigaOS. If it doesn't please
post the gzip compressed output of 

make  m68k-amigaos-faillog

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Eclipse and strange ClassCastException

2003-07-07 Thread Mark Wielaard
Hi,

Did anybody try eclipse recently?

When trying to run the eclipse-SDK-2.1-linux-gtk release (make sure that
your java.version in System.csays 1.3 otherwise it won't try to run at
all) I get a strange ClassCastException (workspace/.metainfo/.log file):

java.lang.ExceptionInInitializerError: [exception was java.lang.ClassCastException: 
can't cast `org/apache/xerces/parsers/StandardParserConfiguration' to 
`org/apache/xerces/xni/parser/XMLParserConfiguration']
at 
org.eclipse.core.internal.plugins.RegistryLoader.processManifestFile(RegistryLoader.java:89)

The strange thing is that at that point of the code there is no such
cast (the eclipse binary release comes with complete source code). I
tried a kaffe build without the xml and jaxp files but that wasn't it.

The StandardParserConfiguration class implements the
XMLPullParserConfiguration interface which extends the
XMLParserConfiguration interface.

Cheers,

Mark


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: kaffe and java-gnome (it works!)

2003-07-07 Thread Mark Wielaard
Hi,

On Sun, 2003-07-06 at 15:15, Dalibor Topic wrote:
 Could you post a short ChangeLog entry so that I
 can check it in, and mark java-gnome as working on the application
 compatibility web page?

2003-07-07  Mark Wielaard [EMAIL PROTECTED]

* include/jni.h (JNINativeInterface): Mark reserved words which
are used in JNI 1.2/1.4. Add ExceptionCheck slot.
(JavaVMAttachArgs): Mark reserved3 word as future
AttachCurrentThreadAsDaemon.
(JNIEnv_): Add ExceptionCheck.
* include/jni_cpp.h (JNIEnv::CheckException): New inline
function.
* kaffe/kaffevm/jni.c (Kaffe_ExceptionCheck): New function.
(Kaffe_JNINativeInterface): Add Kaffe_ExceptionCheck function
and mark unsupported callbacks with NULL.
* kaffe/kaffevm/external.c (loadNativeLibrary2) Call JNI_OnLoad
function if it exists in the library.

Attached is a patch for the web page. I have been so bold to also add
Snark. BTW nice list!

Cheers,

Mark
Index: compatibility_applications.shtml
===
RCS file: /cvs/kaffe/website/compatibility_applications.shtml,v
retrieving revision 1.24
diff -u -r1.24 compatibility_applications.shtml
--- compatibility_applications.shtml	8 Jun 2003 14:10:36 -	1.24
+++ compatibility_applications.shtml	7 Jul 2003 08:53:15 -
@@ -358,6 +358,14 @@
 
 	  Status: Untested.p
 
+  lia href=http://www.klomp.org/snark/;Snark/ap
+
+	  A program for distributing and sharing files with the
+	  BitTorrent protocol. Has an integrated (tiny) HTTP server
+	  and torrent file tracker and an experimental java-gMon Jul  7 10:56:04 CEST 2003nome
+	  GUI.p
+
+	  Status: Works.p
 /ol
 
 a name=nongraphicalclientapps
@@ -625,6 +633,12 @@
 
 	  Status: Untested.p
 
+  lia href=http://java-gnome.sourceforge.net/;java-gnome/ap
+
+	  A set of Java bindings for the GNOME and GTK libraries.p
+
+	  Status: Works.p
+
 /ol
 
 
@@ -652,7 +666,7 @@
 a href=mailto:[EMAIL PROTECTED]Jim Pick/abr
 !-- Created: Wed Mar 13 19:10:07 PST 2002 --
 !-- hhmts start --
-Last modified: Fri Apr  4 19:04:39 CEST 2003
+Last modified: Mon Jul  7 10:56:04 CEST 2003
 !-- hhmts end --
 /div
 !--#include virtual=bottom.html--


Re: [kaffe] Eclipse and strange ClassCastException

2003-07-07 Thread Helmer Krämer
On 07 Jul 2003 10:11:56 +0200
Mark Wielaard [EMAIL PROTECTED] wrote:

Hi,

 When trying to run the eclipse-SDK-2.1-linux-gtk release (make sure that
 your java.version in System.csays 1.3 otherwise it won't try to run at
 all) I get a strange ClassCastException (workspace/.metainfo/.log file):
 
 java.lang.ExceptionInInitializerError: [exception was java.lang.ClassCastException: 
 can't cast `org/apache/xerces/parsers/StandardParserConfiguration' to 
 `org/apache/xerces/xni/parser/XMLParserConfiguration']
 at 
 org.eclipse.core.internal.plugins.RegistryLoader.processManifestFile(RegistryLoader.java:89)
 [ ... ]
 The StandardParserConfiguration class implements the
 XMLPullParserConfiguration interface which extends the
 XMLParserConfiguration interface.

the problem is that 'StandardParserConfiguration' is loaded by a
PluginClassLoader and 'XMLParserConfiguration' is loaded by the
PlatformClassLoader (the attached patch includes this info in the
message of the ClassCastException).

From what I know about eclipse, I would assume that the
PlatformClassLoader should not be able to find that class,
should it? 

HTH,
Helmer

checkcast-patch
Description: Binary data


Re: [kaffe] Eclipse and strange ClassCastException

2003-07-07 Thread Mark Wielaard
Hi,

On Mon, 2003-07-07 at 11:25, Helmer Krämer wrote:
 the problem is that 'StandardParserConfiguration' is loaded by a
 PluginClassLoader and 'XMLParserConfiguration' is loaded by the
 PlatformClassLoader (the attached patch includes this info in the
 message of the ClassCastException).

Nice patch. Useful info when you are playing with complex classloader
hierarchies. (If you include it then I would only add the additional
information if the classloaders are actaully different.)

 From what I know about eclipse, I would assume that the
 PlatformClassLoader should not be able to find that class,
 should it? 

Actually it should but it does so in a tricky way and then removes (!)
those classes again from the classloader.
This looks like it might be the same problem that IKVM.NET had:
http://weblog.ikvm.net/PermaLink.aspx/66
The workaround for IKVM.NET was to add the xmlParserAPIs.jar and
xercesImpl.jar to the bootclasspath but that doesn't work for kaffe.

Cheers,

Mark


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Kaffe CVS: kaffe dalibor

2003-07-07 Thread Kaffe CVS

CVSROOT:/cvs/kaffe
Module name:kaffe
Changes by: dalibor 03/07/07 11:02:17

Modified files:
.  : ChangeLog 
include: jni.h jni_cpp.h 
kaffe/kaffevm  : external.c jni.c 

Log message:
2003-07-07  Mark Wielaard [EMAIL PROTECTED]

* include/jni.h (JNINativeInterface): Mark reserved words which
are used in JNI 1.2/1.4. Add ExceptionCheck slot.
(JavaVMAttachArgs): Mark reserved3 word as future
AttachCurrentThreadAsDaemon.
(JNIEnv_): Add ExceptionCheck.
* include/jni_cpp.h (JNIEnv::CheckException): New inline
function.
* kaffe/kaffevm/jni.c (Kaffe_ExceptionCheck): New function.
(Kaffe_JNINativeInterface): Add Kaffe_ExceptionCheck function
and mark unsupported callbacks with NULL.
* kaffe/kaffevm/external.c (loadNativeLibrary2) Call JNI_OnLoad
function if it exists in the library.


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Re: kaffe and java-gnome (it works!)

2003-07-07 Thread Dalibor Topic

--- Mark Wielaard [EMAIL PROTECTED] wrote:
 Hi,
 
 On Sun, 2003-07-06 at 15:15, Dalibor Topic wrote:
  Could you post a short ChangeLog entry so that I
  can check it in, and mark java-gnome as working on the application
  compatibility web page?
 
 2003-07-07  Mark Wielaard [EMAIL PROTECTED]
 
   * include/jni.h (JNINativeInterface): Mark reserved words which
   are used in JNI 1.2/1.4. Add ExceptionCheck slot.
   (JavaVMAttachArgs): Mark reserved3 word as future
   AttachCurrentThreadAsDaemon.
   (JNIEnv_): Add ExceptionCheck.
   * include/jni_cpp.h (JNIEnv::CheckException): New inline
   function.
   * kaffe/kaffevm/jni.c (Kaffe_ExceptionCheck): New function.
   (Kaffe_JNINativeInterface): Add Kaffe_ExceptionCheck function
   and mark unsupported callbacks with NULL.
   * kaffe/kaffevm/external.c (loadNativeLibrary2) Call JNI_OnLoad
   function if it exists in the library.
 
 Attached is a patch for the web page. I have been so bold to also add
 Snark. BTW nice list!

thanks, checked in!

cheers,
dalibor topic

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Advogato

2003-07-07 Thread Rob Gonzalez
Hey all,

I recently joined Advogato (as gonzo) and was wondering how I would go
about getting listed as a Contributor or Developer or something for the
Kaffe Open VM project on that site :)  I figured someone here (Jim?) would
be the person to know.

Sorry if this is a little off topic ;)


Rob


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


[kaffe] Porting Kaffe on Cray

2003-07-07 Thread Babar
Hello Everyone

I am working on issues regarding porting of Kaffe on
Cray machine and I was just wondering if there are
some suggestion regarding that, Cray is a 64 bit
machine so the obvious changes will be related to
porting kaffe on 64 bit machine.

Your help is appreciated !

Regards

Babar

__
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Advogato

2003-07-07 Thread Mark Wielaard
Hi,

On Mon, 2003-07-07 at 22:38, Rob Gonzalez wrote:
 I recently joined Advogato (as gonzo) and was wondering how I would go
 about getting listed as a Contributor or Developer or something for the
 Kaffe Open VM project on that site :)  I figured someone here (Jim?) would
 be the person to know.

Just login on Advogato and go to the kaffe project page:
http://www.advogato.org/proj/Kaffe%20OpenVM/
then you can just add yourself as a developer on the project.

BTW Advogato is a fun place to keep up to date on the latest Free
Software happenings.

Cheers,

Mark


___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe


Re: [kaffe] Porting Kaffe on Cray

2003-07-07 Thread Kevin D. Kissell
  I am working on issues regarding porting of Kaffe on
 Cray machine and I was just wondering if there are
 some suggestion regarding that, Cray is a 64 bit
 machine so the obvious changes will be related to
 porting kaffe on 64 bit machine.

What kind of Cray machine are you talking about
here?  One of the classic vector jobs, a T3D-style
array of Alphas, or one of the newer Cray Inc. 
multithreaded machines?  Your problems will be 
quite different depending on which of those it is.
64-bit-ness has been handled in the kaffe ports 
to Alpha and IA64, so the platform-independent sources 
are probably pretty 64-bit clean, and I think that will 
actually be the least of your problems.  

___
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe