Re: Patch for java.awt.image.ComponentSampleModel

2004-04-07 Thread Ingo Prtel
The actual problem here was that the scalinestride gets modified when setDataSamples is called. But scanlinestride is a field of this class that gets used in other methods too. So it happend to me that I did set data elements for the whole model (therfore it was optimized and touched the showen

RE: Configuration class and --enable-native-sync

2004-04-07 Thread Jeroen Frijters
Archie Cobbs wrote: C. Brian Jones wrote: thought folks wanted to not abuse it too much. Another option perhaps even in addition to is to simply add these to standard classpath specific system properties at startup for use via System.getProperty()? That's a good idea... and a more

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Andrew Haley
Etienne Gagnon writes: Andrew Haley wrote: Yes, but it's not a question of whether the type jbyte is the same size as a character type, but whether it is treated in the same way as a character by the compiler. Hi Andrew. Please look carefully at my proposal (sent minutes ago),

RE: Classpath build process and VM-specific issues

2004-04-07 Thread Jeroen Frijters
Andrew Haley wrote: jbyte must have a single platform-specific definition, as all JVMs on that platform should be able to execute the same JNI library code (no recompilation required). I didn't know that. Is that requirement documented anywhere? I can't see how you'd do it on a

RE: Classpath build process and VM-specific issues

2004-04-07 Thread Andrew Haley
Jeroen Frijters writes: Andrew Haley wrote: jbyte must have a single platform-specific definition, as all JVMs on that platform should be able to execute the same JNI library code (no recompilation required). I didn't know that. Is that requirement documented anywhere? I

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Andrew Haley
Etienne Gagnon writes: Andrew Haley wrote: Maybe, but that's not the only thing. It's possible to define jbyte so that it is an 8 bit signed value but not a character type, and JNI does not forbid this. I suspect that all the platforms we use define jbyte to be a character type,

RE: Classpath build process and VM-specific issues

2004-04-07 Thread Jeroen Frijters
Andrew Haley wrote: This seems to be identical to my proposal. I no longer understand what we're arguing about... I know. I thought we were still trying to convince Etienne :-) Regards, Jeroen ___ Classpath mailing list [EMAIL PROTECTED]

Re: Classpath build process and VM-specific issues

2004-04-07 Thread David P Grove
So, I have to admit that I haven't been following this thread in all of its glory :-), but the JNI spec is quite clear on the sizes of the various primitives. See the table in section 12.1.1 of the spec. A jbyte is signed 8 bit quantity. A jchar is an unsigned 16 bit quantity, etc. There are

FOSDEM group photo

2004-04-07 Thread Andrew Haley
Who has this photo? Can we put it on the web? Thanks, Andrew. ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

RE: FOSDEM group photo

2004-04-07 Thread Andrew Haley
Jeroen Frijters writes: Andrew Haley wrote: Who has this photo? Can we put it on the web? http://adorphuye.com/gallery/FOSDEM2004/IMGP0234?full=1 Cool, thanks! Andrew. ___ Classpath mailing list [EMAIL PROTECTED]

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Etienne Gagnon
On Wed, Apr 07, 2004 at 11:19:47AM +0100, Andrew Haley wrote: jbyte must have a single platform-specific definition, as all JVMs on that platform should be able to execute the same JNI library code (no recompilation required). I didn't know that. Is that requirement documented

Re: FOSDEM group photo

2004-04-07 Thread S. Meslin-Weber
Hi Andrew! On Wed, Apr 07, 2004 at 12:55:48PM +0100, Andrew Haley wrote: Who has this photo? Can we put it on the web? Thanks, Andrew. I have it up on my gallery at the moment - I believe Jim Pick also has a version. Feel free to put it up elsewhere if needed :) direct link to the image

Re: FOSDEM group photo

2004-04-07 Thread Andrew Haley
S. Meslin-Weber writes: Hi Andrew! On Wed, Apr 07, 2004 at 12:55:48PM +0100, Andrew Haley wrote: Who has this photo? Can we put it on the web? Thanks, Andrew. I have it up on my gallery at the moment - I believe Jim Pick also has a version. Feel free to put it up

RE: FOSDEM group photo

2004-04-07 Thread Jeroen Frijters
Andrew Haley wrote: Who has this photo? Can we put it on the web? http://adorphuye.com/gallery/FOSDEM2004/IMGP0234?full=1 Regards, Jeroen ___ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Per Bothner
Jeroen Frijters wrote: That's why I'm very much in favor of using RawData. ... public abstract class RawData {} public final class RawData32 extends RawData { private int pointer; } public final class RawData64 extends RawData { private long pointer; } All the Java code would ever see are

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Etienne Gagnon
On Wed, Apr 07, 2004 at 11:42:08AM +0100, Andrew Haley wrote: Platform = Machine + OS. I don't have any reference, but I believe that Etienne is right in saying that the same library should be usuable with all JVMs on a specific platform. But it's not necessarily possible. Clearly

RE: Classpath build process and VM-specific issues

2004-04-07 Thread Jeroen Frijters
Per Bothner wrote: Jeroen Frijters wrote: That's why I'm very much in favor of using RawData. ... public abstract class RawData {} public final class RawData32 extends RawData { private int pointer; } public final class RawData64 extends RawData { private long

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Andrew Haley
Etienne Gagnon writes: On Wed, Apr 07, 2004 at 11:42:08AM +0100, Andrew Haley wrote: Platform = Machine + OS. I don't have any reference, but I believe that Etienne is right in saying that the same library should be usuable with all JVMs on a specific platform. But it's not

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Andrew Haley
Per Bothner writes: Jeroen Frijters wrote: That's why I'm very much in favor of using RawData. ... public abstract class RawData {} public final class RawData32 extends RawData { private int pointer; } public final class RawData64 extends RawData {

Patch: remove C++ keywords

2004-04-07 Thread Ingo Prötel
Hi, I would like to suggest removing all C++ keywords as names in the native implementations of GNU Classpath. We have a customer who insists on using C++ because of the more thorough code inspection. To be able to compile with such a compiler we need to change all names that are C++ keywords.

Re: SCSL and FSF

2004-04-07 Thread Onno Kluyt
Any progress? Onno. On Feb 24, 2004, at 15:45, Mark Wielaard wrote: Hi, On Mon, 2004-02-23 at 23:18, Michael Emmel wrote: Sun has offered to clarify the SCSL license and its effect on projects such and Gnu Classpath. This happened in the following discussion thread

Re: Patch: remove C++ keywords

2004-04-07 Thread Michael Koch
Am Mittwoch, 7. April 2004 18:32 schrieb Ingo Prötel: Hi, I would like to suggest removing all C++ keywords as names in the native implementations of GNU Classpath. We have a customer who insists on using C++ because of the more thorough code inspection. To be able to compile with such a

An interessting change for shared char[] in String/StringBuffer

2004-04-07 Thread Chr. Ullenboom
From http://java.sun.com/j2se/1.5.0/jcp/beta1/index.html#java.lang: In this release, the sharing between String and StringBuffer has been eliminated. Does this mean to change to change the implementation in Classpath too? I like this optimization... Bye, Chr. Ullenboom

Re: An interessting change for shared char[] in String/StringBuffer

2004-04-07 Thread Michael Koch
Am Mittwoch, 7. April 2004 19:48 schrieb Chr. Ullenboom: From http://java.sun.com/j2se/1.5.0/jcp/beta1/index.html#java.lang: In this release, the sharing between String and StringBuffer has been eliminated. Does this mean to change to change the implementation in Classpath too? I like this

Re: Odonata+SableVM+Classpath works! (and bootclasspath question)

2004-04-07 Thread David Bélanger
On Mon, Apr 05, 2004 at 10:14:11AM +0100, S. Meslin-Weber wrote: Hi everyone, As reported on #sablevm I'm happy to say that Odonata[1] runs well under SableVM. I haven't measured any speeds or memory usage but with regards to visual output SableVM is on a par with GIJ (both use GNU

Re: Patch: remove C++ keywords

2004-04-07 Thread Tom Tromey
Ingo == Ingo Prötel [EMAIL PROTECTED] writes: Ingo I would like to suggest removing all C++ keywords as names in Ingo the native implementations of GNU Classpath. We have a customer Ingo who insists on using C++ because of the more thorough code Ingo inspection. To be able to compile with such

Re: An interessting change for shared char[] in String/StringBuffer

2004-04-07 Thread Tom Tromey
== Chr Ullenboom [EMAIL PROTECTED] writes: From http://java.sun.com/j2se/1.5.0/jcp/beta1/index.html#java.lang: In this release, the sharing between String and StringBuffer has been eliminated. Does this mean to change to change the implementation in Classpath too? I like this

Re: An interessting change for shared char[] in String/StringBuffer

2004-04-07 Thread Artur Biesiadowski
Tom Tromey wrote: From http://java.sun.com/j2se/1.5.0/jcp/beta1/index.html#java.lang: In this release, the sharing between String and StringBuffer has been eliminated. Does this mean to change to change the implementation in Classpath too? I like this optimization... I don't think we

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Etienne Gagnon
Per Bothner wrote: I can see on a few JVMs it may cause problems, but they can easily sed the source to convert RawData to long. Just think of RawData has a macro. I am starting to have difficulty understanding Classpath's goals and motivations. When I proposed to add to Classpath some

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Etienne Gagnon
Andrew Haley wrote: Okay, but ANS specifically does not allow you to do this subtraction. Also, there is no guarantee that every pointer is representable as a ptrdiff_t. (6.5.6 Para 9, if you're interested) The point is: if your platform is one that does *not* have 8-bit chars (!!!), then you can

Re: Patch: remove C++ keywords

2004-04-07 Thread Etienne Gagnon
Michael Koch wrote: Let me know what you think. Makes sense to me. Personally I think using obj or so is better then using thiz. Agree. I like obj instead of this. [I don't like thiz] Similarly, I like cls instead of class. [I don't like clazz] Etienne -- Etienne M. Gagnon, Ph.D.

Re: Classpath build process and VM-specific issues

2004-04-07 Thread Ingo Prötel
Hi Etienne, while I think that your proposal would work with our VM it would also be quite ineficient. Our arrays can be fragemented so we nee to do some magic when accessing them in native code. Do you have any system that requires a pointer size larger than 64bits ? My feeling is that once we

Localization patches for gnu.regexp

2004-04-07 Thread Steven Augart
Here are some localization patches for the gnu.regexp package's messages. Index: ChangeLog === RCS file: /cvsroot/classpath/classpath/ChangeLog,v retrieving revision 1.1982 diff -I*.class -u -r1.1982 ChangeLog --- ChangeLog 7 Apr